Hi all...
at the moment I am playing with some REST stuff and run into this
problem. I want to use put to update
an resource. Now I need to access the put payload, but I don't know
how I could do this.
Here is the http traffic.
Request URL:
http://10.204.119.7/tssw/rest/display
Request Method:
PUT
Status Code:
200 Ok
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-US,en;q=0.8,de;q=0.6
Connection:
keep-alive
Content-Length:
88
Content-Type:
application/xml
Cookie:
cppcms_session=I6fd1b57f7eb1099378afe96f557b2419
DNT:
1
Host:
10.204.119.7
Origin:
chrome-extension://fhjcajmcbmldlhcimfajhfbgofnpcjmb
User-Agent:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko)
Chrome/23.0.1271.97 Safari/537.11
Request Payload
{ "brightness" : 10 }
Response Headersview source
Connection:
close
Content-Type:
text/html; charset=utf-8
Server:
CppCMS-Embedded/1.0.3
X-Powered-By:
CppCMS/1.0.3
thanks
--
Christian Gmeiner, MSc
|