Skip to content

Instantly share code, notes, and snippets.

@kborchers
Created August 9, 2012 15:43
Show Gist options
  • Save kborchers/3305283 to your computer and use it in GitHub Desktop.
Save kborchers/3305283 to your computer and use it in GitHub Desktop.
Request Headers
POST /todo-server/rest/task HTTP/1.1
Host: localhost:8080
Connection: keep-alive
Content-Length: 124
Origin: http://localhost:8080
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.57 Safari/537.1
Content-Type: application/json
Accept: */*
Referer: http://localhost:8080/todo-www/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Request Payload
{"title":"Test POST","date":"2012-08-08","description":"This is test data for abstractj :)","project":"11","tags":[2,18,20]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment