Help me understand HTTP Post data

In Progress Posted Dec 17, 2014 Paid on delivery
In Progress Paid on delivery

I want to be able to add an item to an online shopping cart using the HTTP POST method (rather than manually adding the item).

When I add an item to my shopping cart the following HTTP POST is sent to the site.

POST http://nod.nikecloud...nod/rest/intake HTTP/1.1

Host: [login to view URL]

Connection: keep-alive

Content-Length: 285

Accept: */*

Origin: [login to view URL]

User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Content-Type: text/plain

Referer: http://store.nike.co...3/pgid-10097071

Accept-Encoding: gzip, deflate

Accept-Language: en-US,en;q=0.8

{"events":[{"pid":"1539013","color_chips":["1539010","1539013","1539008"],"name":"view_pdp","t":1418862728657},{"pid":"1539013","qty":"1","skuAndSize":"3874103:5.5","name":"addToCartEvent","t":1418862739555}],"g":"cd4af6ab-0064-4a7e-c105-163eae51cba2","t":1418862739556,"vID":"0.5.11"}

Please help me understand the parameters at the bottom of the POST and help me replicate this programatically.

AJAX JavaScript Software Architecture XML

Project ID: #6878805

About the project

6 proposals Remote project Active Dec 17, 2014

6 freelancers are bidding on average £180 for this job

usuf001

A proposal has not yet been provided

£249 GBP in 2 days
(131 Reviews)
6.7
clickmind

A proposal has not yet been provided

£277 GBP in 1 day
(23 Reviews)
6.4
techmartsol

Hello, We have gone through the scope of work and would be happy to provide complete solution on this and future support also if required. Scope of work includes - - Helping in understanding Post data and replic More

£150 GBP in 3 days
(41 Reviews)
6.1
dinhks

A proposal has not yet been provided

£150 GBP in 3 days
(25 Reviews)
4.9
allljprojects

A proposal has not yet been provided

£55 GBP in 3 days
(1 Review)
1.4