Why is there no "raw" body type in API (Pabbly), and why is there no image download in API (Pabbly)
Status: Open · Asked by mark_inno on · 0 views
I need to send raw body type & json content-type to LinkedIn Post API, how to do this using API (Pabbly). This LinkedIn API https://api.linkedin.com/v2/ugcPosts only accepts raw json.
Also, I need to upload to LinkedIn an image via multipart-form data, and for that I need to download the image via API (Pabbly). I can do this in Make.com, how to download image using API (Pabbly). LinkedIn requestuploadImage API only accepts binary data.
In Make.com:

Hey @mark_inno
I need to send raw body type & json content-type to LinkedIn Post API, how to do this using API (Pabbly). This LinkedIn API https://api.linkedin.com/v2/ugcPosts only accepts raw json.
It seems that you can only enter the data in acceptable format. Although, you can convert your format using "Data Transformer" by Pabbly. Kindly refer to the video below,
youtube.com/watch?v=KhjKKJSA1jQ
Also, I need to upload to LinkedIn an image via multipart-form data, and for that I need to download the image via API (Pabbly). I can do this in Make.com, how to download image using API (Pabbly). LinkedIn requestuploadImage API only accepts binary data.
Kindly try these steps in LinkedIn "Custom API Request (BETA)" and let us know if it works for you.

Hi Luv, if you look at the image below, it is a Clearout.IO module in Pabbly, it can send raw json data.

Why doesn't API (Pabbly) not have this?
Also, I can't use the LinkedIn module as we are doing 3rd party user authentication.
Attachments


Hey @mark_inno
We have checked with our technical team and we currently do not support multipart-form data for LinkedIn.
Apologies for the inconvenience.
That's fine, I am not concerned about the LinkedIn module, I'm more concerned about the API (Pabbly) module not having raw JSON data body/payload, while the Clearout module has it. Images shown above.
Please select 'Custom Request' as the Action Event Method, and you will see the 'Data' field where you can enter the raw JSON.
Oh man, I must be blind or something. Thank you so much sir. Maybe you can help me with my other question, how to upload binary image to an API where it only accepts binary data?
I was able to do this in Make.com, they have image download on their HTTP module:
I can then upload to the API by referencing that download,
Is there a way to do this in Pabbly?
Thanks.
Hello @mark_inno
Unfortunately, as of now, uploading binary files directly through an API is not a supported feature.