cURL FMContainerContent

Discussion created by wernerausserladscheider on Jul 25, 2018
Latest reply on Jul 25, 2018 by wernerausserladscheider

Hi Guys,

I'm desperate by now because I can't get it to work! I want to upload my container content for automatic receipt transcription to taggun.

That's what I got form the web service side:


curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' --header 'apikey: xyxyxyxyxyxy' 'https://api.taggun.io/api/receipt/v1/simple/file'



That's what I did in FMP:

$file; value: Date Container

$url; value: "https://api.taggun.io/request"


_cURL_request ( "POST" ) &

_cURL_header ( "Content-Type" ; "multipart/form-data" ) &

_cURL_header ( "Accept" ; "application/json" ) &

_cURL_header ( "apikey" ; "xyxyxyxyxyxy" ) &

_cURL_upload_file ( $file )

Insert from URL ...


Please, could someone give me a hint on how to structure this and to get the image in the container transferred via cURL?


Appreciate your help!