Why am I getting an OPTIONS request instead of a GET request?

<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js” type=”text/javascript”></script> <script> $.get(“http://example.com/”, function(data) { alert(data); }); </script> it does an OPTIONS request to that URL, and then the callback is never called with anything. When it isn’t cross domain, it works fine. Shouldn’t jQuery just make the call with a <script> node and then do the callback when its loaded? I understand … Read more

HTTP GET with request body

I’m developing a new RESTful webservice for our application. When doing a GET on certain entities, clients can request the contents of the entity. If they want to add some parameters (for example sorting a list) they can add these parameters in the query string. Alternatively I want people to be able to specify these … Read more