To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/ForumPostAdd HTTP/1.1
Host: data.oriem.cz
Content-Type: text/csv
Content-Length: length
{"Token":"String","UserId":0,"WorkerId":0,"ForumThreadUID":0,"Content":"String","Anonymous":false,"Attachments":[{"FileName":"String","base64Content":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Data":[{"UID":0,"CreatedUser":"String","CreatedUserFullName":"String","RecCreated":"\/Date(-62135596800000-0000)\/","Content":"String","Useful":0,"Deleted":false,"Anonymous":false,"Readed":false,"Attachments":[{"FileName":"String","base64Content":"String"}]}],"Error":false,"ErrorMessage":"String"}