Using Smartsheet 2.0 APi sto update smartsheets using CURL in my application. The request is
Request Header = PUT /2.0/sheets/6988860577081220/rows?allowPartialSuccess=false HTTP/1.1 Authorization: Bearer XXXXXXXXX
Host: api.smartsheet.com Content-Type: application/json
data to be sent:
{"id":2222,"cells":[{"columnId":33333,"value":"Offline","displayValue":"Offline"}
]}
Response.ContentString =
HTTP/1.1 200 OK Date: Fri, 03 May 2019 12:40:33 GMT Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 Content-Type: application/json;charset=UTF-8 Content-Length: 882 Vary: Accept-Encoding {"message":"SUCCESS","resultCode":0,"result":[{"id":2222,"rowNumber":1,"expanded":true,"createdAt":"2018-10-15T08:19:33Z","modifiedAt":"2019-05-03T12:40:34Z","cells":[{"columnId":33333,"value":"Offline","displayValue":"Offline"}
]}],"version":1615}
The above response is not a valid json. Pleae suggest if i am doing something wrong