Replies: 1 comment
-
|
This is done on purpose, to ensure the request is a "Simple Request" which doesn't need the CORS preflight request, you can learn more about that here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests It's also annoying for us to debug (we're thinking about transitioning to a plain text request in v5), but in the mean time I also made a tool to inspect the parameters: https://haroen.me/algolia-tools/#request-explorer |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This isn't quite a bug or a feature request, but if the POST requests to the
queriesendpoint could include aContent-Type: application/jsonheader, it might help browsers and debuggers parse the payload from the user to aid in debugging applications usinginstantsearch. Some tools trip up on this and expect, absent any cues fromContent-type, that the payload isapplication/x-www-form-urlencoded(because some of the properties likeparamsare in fact URL-encoded) and presents it improperly parsed to the investigator.Beta Was this translation helpful? Give feedback.
All reactions