Skip to main content
Nintex Community Menu Bar
Solved

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

  • August 22, 2019
  • 5 replies
  • 115 views

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=1043966f2ade502466e2

 

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

 

Best answer by SimonMuntz

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.

 

 

5 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Answer
  • August 27, 2019

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.

 

 


  • Author
  • August 30, 2019

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


Forum|alt.badge.img+9

@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..


Ice_Sinsab
Forum|alt.badge.img+1
  • Novice
  • June 16, 2021

Dear @Roro ,

 

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

I'm encountering with POST data to website too.


  • Novice
  • November 12, 2021

Hi, I have the same problem and i couldnt find the solution. Can you provide information how you solve it?

Regards