request payload versus query string parameters

Posted by Sarah Sides on Stack Overflow See other posts from Stack Overflow or by Sarah Sides
Published on 2012-10-24T18:16:49Z Indexed on 2012/10/24 23:01 UTC
Read the original article Hit count: 269

Filed under:
|
|

I am absolutely in the dark when it comes to this request payload that I'm seeing in my Chrome browser.

A Query string will have a variable attached like session:2g0SoEE but this payload has just one long string I'm guessing is in base64.

I do understand that the request payload can have whatever, but how do I use it?

Can I do a post with jquery and send this request payload?

For example:

$.post(url, {variable: "variable"}, function(data){});

When this posts it will send &variable=variable this will be found as query string parameter in the headers sent in chrome.

In this game I'm playing I see another piece of info being sending in the header called a payload request. I'm a confused as to how this is read, used, made, how I can reduplicate this?

Here is something similar: Chrome is caching an HTTP PUT request and How to retrieve Request Payload

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX