Roro
Canvas Initiate

Call external web api with access key - Cannot connect to the server

Jump to solution

Hello,

 

I am trying to call the API: 

https://free.currconv.com/api/v7/convert?q=EUR_CHF&compact=ultra&date=2019-01-26&apiKey=1043966f2ade...

 

It works when I test it in my browser, but I did not manage to make it work on a Nintex 'Web Request' action. I get the following error message: Cannot connect to the server.

 

Could someone explain me how to set up the action correctly to make it work, please?

 

Regards

 

0 Kudos
Reply
4 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Call external web api with access key - Cannot connect to the server

Jump to solution

Hi,
I tested this and found that you need to use a GET and not a POST and it will work.

If you are still having issues make sure you can connect to the API from your Web Front End server.

 

WebRequestCurrency.png

 

WFComplete.png

View solution in original post

Reply
Roro
Canvas Initiate

Re: Call external web api with access key - Cannot connect to the server

Jump to solution

Thanks for your help. Actually, there was security settings was preventing the WS call.

0 Kudos
Reply
brightlight
Process Pupil

Re: Call external web api with access key - Cannot connect to the server

Jump to solution

@SimonMuntz 

We are trying to create an API to pass list attachment URL to convert to base64 and then insert the attachment to the external DB. Can we do this with web request? If yes, how we would we pass parameters to the API like SP credentials, list title, attachment URL, database name, table/column info, etc..

0 Kudos
Reply
Ice_Sinsab
Design Dabbler

Re: Call external web api with access key - Cannot connect to the server

Jump to solution

Dear @Roro ,

 

Have you any idea which security settings need to be updated?

I'm encountering with POST data to website too.

0 Kudos
Reply