Skip to main content
Question

API Get DATA

  • November 3, 2022
  • 1 reply
  • 9 views

Forum|alt.badge.img+5

1 reply

siennaatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • 214 replies
  • November 9, 2022

Hi @asadmjad,

 

The results of the call will depend on the accept header. Accept: application/octet-stream

 returns the file. Whereas, Accept: application/json returns the metadata about the file.

 

If you want the file in the response body of the call you'll also want to add the query parameter dispostion=inline.

 

Altogether, it should look like this.

2022-11-09_14-23-09