Skip to main content
Solved

Hi! How do you upload a binary file (not json or text) to FME Server data folder using Automation external action "Make an HTTP request?"

  • May 19, 2021
  • 1 reply
  • 26 views

antoine
Contributor
Forum|alt.badge.img+6

 I know how to do it with a workspace and HTTPCaller and with the Rest API but I would like to know if it is possible directly through the external action : "Make an HTTP request" and if so how.

Thanks!

Best answer by hollyatsafe

Hi @antoine​ ,

It is not possible to make a call to the FME Server REST API POST /resources/connections/< resource >/filesys/< path > endpoint using the HTTP Request action in Automations.

 

This action does not currently allow you to set headers, or to point the upload body to a file. There is an existing idea for headers that I would encourage you to upvote and add your supporting comments. I wasn't able to find any enhancement requests for uploading files to the body so I'd recommend you post a new idea for this as well.

 

View original
Did this help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • Best Answer
  • May 26, 2021

Hi @antoine​ ,

It is not possible to make a call to the FME Server REST API POST /resources/connections/< resource >/filesys/< path > endpoint using the HTTP Request action in Automations.

 

This action does not currently allow you to set headers, or to point the upload body to a file. There is an existing idea for headers that I would encourage you to upvote and add your supporting comments. I wasn't able to find any enhancement requests for uploading files to the body so I'd recommend you post a new idea for this as well.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings