Getting a file through API call
Status: Open · Asked by guillermoba on · 0 views
Hi!
I need to make an API call to get a response with an image file.
This is the url > https://neutrinoapi.net/html-render?image-height=500&page-size=A5&landscape=true&format=PNG&content=https://naiwokhills.com/boat-ticket-generator/ (plus the headers with the Key)
When I make the call on Postman, I get a file, but on Pabbly, I only get a 200 status code with the message "The application processed the request but returned a blank response. Refer to the HTTP status code above for details."
What do I have to do to get the image in the response? I am using the same parameters in Postman, and I get an image, but not on Pabbly.
Thanks!
Attachments

Hi @guillermoba,
Could you please share the API documentation and the cURL command for the endpoint you are trying to execute? Additionally, please share the workflow URL where you have attempted to execute this endpoint.
Hi! I copied that step on a new flow: https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZhMDYzZTA0MzY1MjZjNTUzYzUxMzci_pc
And this is the curl I am trying to execute : https://www.neutrinoapi.com/api/html-render/
Thanks!
Hi!
I need to make an API call to get a response with an image file.This is the url > https://neutrinoapi.net/html-render image-height=500&page-size=A5&landscape=true&format=PNG&content=https://naiwokhills.com/boat-ticket-generator/ (plus the headers with the Key)
When I make the call on Postman, I get a file, but on Pabbly, I only get a 200 status code with the message "The application processed the request but returned a blank response. Refer to the HTTP status code above for details."
What do I have to do to get the image in the response I am using the same parameters in Postman, and I get an image, but not on Pabbly.
Thanks!
Unfortunately pabbly connect doesn't support direct file as response. You have use API which returns URL of the file as a response.
Hi! That wouldn't be a problem... the issue is that I do not get a link either. On Postman I get the file, on Pabbly I was expecting a link, but I get nothing
Thanks
Attachments

To run the API reference on Pabbly Connect, you can refer to the following video lesson.

Hi! I already watched that video. I already setup dozens of workflows. I've made thousands of API calls. Still... I'm not getting an answer to my question.
Why making the same API call on other platforms I get a file in the response, but on Pabbly I don't get the file nor a link to the file?
Thanks
Could you please share the cURL request with us? This will allow us to examine it and provide you with the appropriate guidance.
I already shared it before, please check my previous messages
Please share the CURL request that you have tested in the Postman application so that we can check its response.
You can find the headers (which contain the API key) are here: https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZhMDYzZTA0MzY1MjZjNTUzYzUxMzci_pc I can also send those to you, but I need to make sure that is private
Thanks!

Hey @guillermoba
Thank you for sharing.
I apologize, but currently, we do not support images in the API by Pabbly module, so this is not possible.