I need to post some json data to external(another domain) API using ajax which on success should return me back some json data.
This API doesn’t supports GET, only POST and I have no control on it, which means I can’t do JSONP or enable CORS.
Any idea how to bypass the cross-domain limitations?
Post the data to your own server. Make the HTTP request to the API from your server. Relay the response.