Skip to main content

curl.exe --cacert Intermediate.cer --cacert root.cer --data "emailId=myemail@domain.com&password=MyPassword" https://dms.asite.com/apilogin/

 

I have tried doing this in FME using the guides, however I get a response error 200 invalid so I assume it is an issue with the certificates possibly? The curl command runs fine using the command line if the cert's are installed or if they are in the same dir as Curl.

I have tried placing the certs in the following directorys;

C:\\Program Files\\FME\\jre\\lib\\security

C:\\Program Files\\FME\\ssl

 

I have tried changing Verify SSL Certificates to both Yes/No.

I am using FME Workbench 2019.2 and below is how I have set it up so far:

 

 

 

Thanks Adam

Hi @adrob

Have you seen this related Q&A post? jkr_da in one of the comments mentions the following:

The website expects the Username and Password as Multipart / Form Data (Based on the fact that it is set with the -d parameter in the CURL.) As body you have to set Upload Data to Multipart / Form Data.

 

And all the parameters after the -d are Name Value just like Niels set the Query String Parameters. And the Type is set to String Upload.

The -d parameter is the same as --data (see the CURL documentation here), which I believe you're trying to use. Would you be able to try the suggested?

As for certificates, I would recommend checking this Q&A post which has some information on where HTTPCaller looks for certificates. I hope this helps.


Hi @adrob. Did you ever get this working? We're having similar issues to what you reported using the ASite API via a http caller. What parameters did you end up using?

Thanks!


Reply