Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Storing an HTTP request in an array using C

Status
Not open for further replies.

diwesh87

Newbie level 1
Joined
Mar 17, 2015
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
am trying to catch an HTTP request and store it in an array using C . How can I possibly do this ?

The request I get from is of the following form :

POST /box/update HTTP/1.1
Accept : application/json
Content-Type : application/x-www-form-urlencoded
host:121.158.41.104:1338
content-length : 83
Connection : close

serial=134&pin=134&poweState=true&startState=true&temperature=11&macAdress=113
My program requires to store each variable and value for further use.I have been able to read this request and output on my console , but further from that I am stuck.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top