I am passing an encoded json array in a ajax GET request (it’s cross domain) but I am getting a 404, as it’s parametrising the data in the url and is too long.
What’s the better approach to sending data to a webserver using javascript over cross domain?
It’s a fairly small amount of data <1000 variables with only around 50 chars per variable.
There’s no limit on the body of a normal HTML POST request.
JavaScript post request like a form submit