Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1854

HTTP Post request with binary file body and content type text/csv

$
0
0

I need assistance to create an HTTPS Post request in power automate that has content type text/csv and binary body. Below is my Postman call that works and what I've tried to do in Power Automate.

POSTMAN CALL

This is the HTTP request I am trying to recreate in Power Automateenter image description here

enter image description here

Power Automate

I am getting the content of the CSV file from OneDrive and then passing the content in the request bodyenter image description here

I also tried converting the file content with the binary expression

enter image description here

But both approaches give me the same error below and I am not sure what I am doing wrong. Any help would be appreciated.

"message":"Failed to parse CSV. Nested error is: Too many entries: expected at most 1 (value #1 (11 chars)

This is how the API documentation shows the call should beenter image description here


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>