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?"

  • 19 May 2021
  • 1 reply
  • 2 views

Badge +5

 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!

icon

Best answer by hollyatsafe 26 May 2021, 18:29

View original

1 reply

Badge +2

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.

 

Reply