John Doe
John Doe

Reputation: 1025

Parse.com REST API OPTIONS requests SDK

For every request I make via REST to Parse.com API, there is an OPTIONS request that gets fired at first. How do I get rid of it? Thoughts? Here is the screenshot of the request: https://www.dropbox.com/s/bdiid997hzwxa72/headers.tiff

Upvotes: 0

Views: 106

Answers (1)

inf3rno
inf3rno

Reputation: 26129

You cannot get rid of it. It is called CORS preflight, and it is a browser feature to determine whether a cross origin request from your domain is allowed by the REST API or not.

Upvotes: 1

Related Questions