How to get media file from whatsapp server

Hi All

How to get photo media files from whatsapp server ?.

I have done several experiments according to the documentation but still fail

this is my workflow

Hey @Rukhan,

Are you getting any errors?

Thanks for the response @Jon

This is the error I get

This is My Header

in documentation like this

curl
‘URL’
-H ‘Authorization: Bearer ACCESS_TOKEN’ > media_file

Hey @Rukhan,

Have you ran that JSON through an online service to make sure it is valid? Looking at it the { > media_file} is not value and in the curl command example that is used to send the output to a file called media_file.

Try dropping that and seeing if it works.