# How to send or retrieve/ get binary data from an API

**URL:** <https://community.synatic.com/t/how-to-send-or-retrieve-get-binary-data-from-an-api/270>\
**Category:** Flows\
**Tags:** helper-functions\
**Created:** [July 14, 2022, 1:25pm UTC](https://community.synatic.com/t/how-to-send-or-retrieve-get-binary-data-from-an-api/270 "2022-07-14T13:25:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navessa](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/navessa/32/58_2.png) [@navessa](https://community.synatic.com/u/navessa)\
**Post date:** [July 14, 2022, 1:25pm UTC](https://community.synatic.com/t/how-to-send-or-retrieve-get-binary-data-from-an-api/270/1 "2022-07-14T13:25:48Z")

</div>

To send or retrieve/ get binary data from an API, you can add the below Content-Type as a header in the HTTP Service step.

```auto
application/octet-stream

```

The header in your HTTP Service step will look like the below image.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/72b8db80ff01df6bdab2effb36da797a3e879f56.png)

Find out more about the " **Content-Type" header** by clicking on the below link:

> [Content-Type - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type#syntax)

For more information on **MIME types** , please click on the below link:

> [MIME types (IANA media types) - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)

For the **available MIME types** that can be used , please click on the link below:

> [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml)
