web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Upload application/oct...
Power Automate
Unanswered

Upload application/octet-stream Data To An HTTP Endpoint via a JSON POST

(0) ShareShare
ReportReport
Posted on by 4,363 Moderator

Hi

 

I have an API interaction that is receiving an application/octet-stream that provides a URL for said data.

 

I would like to now POST that data somewhere, how do I achieve that with the HTTP connector in Power Automate?

 

In my example I'm using DropBox's API, but this could be any API.

 

I have requested a file using their Temporary Link request, and I am now wanting to uploading it to DropBox (which, again, could be anywhere) and have been given an upload slot using their Temporary Upload Link request.

 

All I now need to do is send the data on the provided URL to the URL that they have given me. How do I post data using Power Automate?

....

I might have a lead in an unrelated StartPage search, if it pans out, I'll post the answer here.

EDIT - It wasn't what I thought ... I tried this in the body and it just created a file with that text in the destination. Grah

 

 

{
 "content": "https://content.dropboxapi.com/apitl/1/OBFUSCATED1-AA-111-OBFUSC_ATED2-OBFUSCATED3-OBFUSCATED4-bbb-OBFUSCATED5-OBFUSCATED6"
}

 

 

EDIT 2 - Do I need to fully form the JSON message in the body section?

 

So, for example, I have a URI that is bespoke each time, but here's a made up example:

 

https://content.dropboxapi.com/apitul/1/MadEUpURi228xJJJ

 

I've got the header for Content-Type set as:

 

application/octet-stream

 

 

I just don't know how I push the data from the URL previously fake listed, so now I'm wondering if I need to mess with the JSON itself and create it from scratch. There's a few posts about creating it and putting the Content-Type in the Body with a dollar symbol ... Is that the direction?


Should I be doing something with:

data-binary @ 
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard