Skip to main content

Hello, I am configuring FME to receive file uploaded from website through API - POST method. We want the api to directly pass the uploaded file from website to FME for processing. Note that the file is not saved into any DB.

The issue I am facing is the the configuration of HTTPCaller Transformer to receive file datatype. Anyone can help suggest on this? Would be very helpful if I can get any advice to configure it the correct way since I’m stuck with this.
 


The logs: 


The api test through postman has give success response to upload file.


The file type I am testing to upload is excel file. Later will need to test with CSV & Shapefile.

Can you please clarify if you want to use FME to upload a file via an API? Or you want some web app to upload an file to FME Flow for processing?

The HTTPCaller is used to make requests. If you  are expecting data to be uploaded and then used in a workspace there are a few methods. you should take a look at this article https://support.safe.com/hc/en-us/articles/25407584866445-Send-Source-Data-to-FME-Server-with-HTTP-POST
 


Can you please clarify if you want to use FME to upload a file via an API? Or you want some web app to upload an file to FME Flow for processing?

The HTTPCaller is used to make requests. If you  are expecting data to be uploaded and then used in a workspace there are a few methods. you should take a look at this article https://support.safe.com/hc/en-us/articles/25407584866445-Send-Source-Data-to-FME-Server-with-HTTP-POST
 

 

Hi, sorry for the late reply and thanks for your input.

For your question, I want to the FME the receive the data via an API once the POST method is triggered by upload button.

 

below is the example website where user will upload file:

 

What I want is to directly receive data from the file, without storing file in any database.


Please see the articles Data Loading Options With FME Server and Send Source Data to FME Server with HTTP POST.


Reply