Skip to content

Instantly share code, notes, and snippets.

@adtaylor
Created July 3, 2012 14:37
Show Gist options
  • Save adtaylor/3040123 to your computer and use it in GitHub Desktop.
Save adtaylor/3040123 to your computer and use it in GitHub Desktop.
$.ajax({
type: "GET",
url: "/categories.json",
data: {query: { order: "load_order"}}
}).done(function( msg ) {
console.log( "Data: ", msg );
});

Request URL:http://dev8.beans:3000/categories.json?query%5Border%5D=load_order
Request Method:GET
Status Code:500 Internal Server Error

Request Headersview source

Accept:/
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Connection:keep-alive
Cookie:__gads=ID=e336a42f41206342:T=1329915340:S=ALNI_MZFHlrdp34z30vnHj1HKo23JzyrhQ; _freshersfields_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdhYjVmYTBmMDE0MTRiM2U4ZWIyOWEyZjlhYTU4YmIxBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWFPVlY5TTA1VE5idjEyTDlEeExxdVc0L3g2SHFZdVZ3UU4wYVM5OEJzeG89BjsARg%3D%3D--378c0c7b05a30da1dbac08dcae2b962171e91667
Host:dev8.beans:3000
Referer:http://dev8.beans:3000/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/535.22 (KHTML, like Gecko) Chrome/19.0.1050.0 Safari/535.22
X-Requested-With:XMLHttpRequest

Query String Parametersview URL encoded

query[order]:load_order

Response Headersview source

Connection:Keep-Alive
Content-Length:13819
Content-Type:text/html; charset=utf-8
Date:Tue, 03 Jul 2012 14:35:13 GMT
Server:WEBrick/1.3.1 (Ruby/1.9.3/2012-04-20)
X-Request-Id:49d33539c8ecb89021855d2a4380c9b9
X-Runtime:0.030859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment