Re: REST API

cyerro
Helper

REST API

Hi, 

I'm implementing Rest API and got the error below and not getting any response back: 

Error getting response; java.net.UnknownHostException: sandbox.api.visa.com

 

May you please enlighten me as to what caused this error? I attached my source codes. 

 

Also may you please check if I used the correct payload. 

 

Please kindly assist! Thank you. 

 

4 REPLIES 4
Sanobar
Frequent Helper

Re: REST API

Hello,

 

We are investigating on it at the moment, will get back with soultion and if required more details.

 

Thanks

Sanobar

Sanobar
Frequent Helper

Re: REST API

Hello,

Can you please turn-off the proxy, if you are using it and try again.

Please let me know the results.

Thanks

Sanobar

Sanobar
Frequent Helper

Re: REST API

Hello,

 

Did this gets resolved?

 

Also, I noticed that you have blocked out  API Key in the "Generating X-Pay Token.PNG", but it seems you might be leaking all or part of your key in "Rest API Request.PNG".  please hide or remove that PNG file.

 

Thanks

Sanobar

 

Morgan951
Helper

Re: REST API

REST technology is generally preferred to the more robust Simple Object Access Protocol (SOAP) technology because REST leverages less bandwidth, making it more suitable for internet usage. An API for a website is code that allows two software programs to communicate with each another. The API spells out the proper way for a developer to write a program requesting services from an operating system or other application.