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
  • 37 views

antoine
Enthusiast
Forum|alt.badge.img+7

 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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2
  • 719 replies
  • 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.