Download Media

To download media, make a DELETE call to the /media/{{ MEDIA_ID }} .


Sample request:

curl -X GET '{{ MEDIA_ID }}' \
-H 'Authorization: Bearer {{ API_TOKEN }}'

If successful, you receive the binary data of media saved in media_file, response headers contain a content-type header to indicate the mime type of returned data.


If media fails to download, you receive a 404 Not Found response code.

Copyright © 2023 Botika Teknologi Indonesia