Hi,
Is it possible to have either of the following API calls return in JSON format?
GET: api/v1/nodes/{id}/content (?action=download)
GET: api/v1/nodes/{id}/versions/{version}/content
New to CS API's
Thanks in advance
Regards
Stewart
Are the files in question JSON files? You can have the file return as a string and parse it after the fact. I have done somewhere similar with XML files
No, you cannot. You consume the binary response as Blob. You can use it directly, or encode it to JSON on the client side, if you need it.
Blob