Send an Image / HTTP Header

(Andrew Catchpole) #1

I have a URL where I need to get an image from. I can “Make a HTTP Request” to the URL and get a 200 response but must include certain information in the Headers to avoid the server returning an error. The Response is the image file. Therefore I believe that I should be able to use “Send an Image” with the appropriate URL?

However I get the following error response in the Flowxo interaction log

(#100) Failed to fetch the file from the url

I suspect this is because I don’t have a way to send the HTTP Header information.

Is there a way to send the HTTP Header using “Send an Image” ?

(Karen Barker) #2

Hi Andrew,

Unfortunately I’m not aware of any method to allow you to send header information using the Send an Image action. What platform are you building the bot for? It might be possible to use a Custom Request direct to the platforms API if this has the option to send header information in.

(Andrew Catchpole) #3

This is for Messenger
I will look into the Custom Request method. Thanks