Closed aszalos-roland closed 3 years ago
It seems like this exact case Is related to CORS settings?
I guess we do not want to open up for access-control-allow-origin: *
It seems like this exact case Is related to CORS settings? I guess we do not want to open up for
access-control-allow-origin: *
it's not a cors related issue I can reach the endpoint with less mnemonics selected, idk why it returns a cors error, maybe because it's a preflighted request and the server determined in this case that the request is not safe to send so it returned a cors error
From description above this seems both as a bug and a feature enhancement. Please submit a pull request to solve this issue.
👉 Is your feature request related to a problem? Please describe. We allow the users to select all the mnemonics, but the get request fails when the URL is more than 2048 characters. Related stories: #173, any story that relies on reading LogData
Describe the solution you'd like Write an alternative POST endpoint, so we can send the mnemonics in the request body if the URL would be too long.
Describe alternatives you've considered Not allowing the user to select that many mnemonics.
Additional context Screenshot of the problem: