Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X-Requested-With:XMLHttpRequest
- var xhr = new XMLHttpRequest();
- xhr.open('GET', '/');
- xhr.send();
- Accept:*/*
- Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
- Accept-Encoding:gzip,deflate,sdch
- Accept-Language:en-US,en;q=0.8
- Connection:keep-alive
- Cookie: ....
- Host:stackoverflow.com
- If-Modified-Since:Sat, 31 Dec 2011 01:57:24 GMT
- Referer:http://stackoverflow.com/questions/8685750/how-does-an-ajax-request-differ-from-a-normal-browser-request/8685758
- User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11
- window.location.href = "j_security_check?j_username=" + dlg.getForm().findField('j_username').getValue() + "&j_password=" + dlg.getForm().findField('j_password').getValue();
- $_SERVER['HTTP_X_REQUESTED_WITH']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement