To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/FindStream HTTP/1.1
Host: api.tigris.mymitchell.com
Content-Type: application/json
Content-Length: length
{"Id":"00000000000000000000000000000000","Return":"String","PostUpdatedAfterTime":"\/Date(-62135596800000-0000)\/","AuthorType":"String","TagName":"String","Offset":0,"Limit":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Count":0,"StreamPosts":[{"Id":"00000000000000000000000000000000","PostSource":"Standard","SubscriptionId":"00000000000000000000000000000000","AuthorType":"String","Content":"String","MessageType":0,"ExpirationDate":"\/Date(-62135596800000-0000)\/","CreatedTime":"\/Date(-62135596800000-0000)\/","UpdatedTime":"\/Date(-62135596800000-0000)\/","ContentCreatedTime":"\/Date(-62135596800000-0000)\/","ContentUpdatedTime":"\/Date(-62135596800000-0000)\/"}]}