Hello,
I am creating just a basic Java project to test connectivity with Visa. I have the helloworld working in SOAPUI but when I test it with Java code I get a 404 exception. I can't see what is wrong with my request. It looks the same as the SOAPUI raw request.
Here is my request:
GET https://sandbox.api.visa.com/vdp/helloworld
Accept: application/json, application/*+json
Content-Length: 0
Authorization: Basic NUUxNVlZUkw0RFhLNk5ZNEw4RkkyMURmRTk4MklVMHM4M3lpclBXbEtHMFpZMUVmWTowZHdGbklNZGN5MnRYU3lQMDgxSzBWMG5iRDZNOVAxNXhJdkxBZw==
Here is the response:
404 NOT_FOUND Not Found
Server: Apache
X-SERVED-BY: l73c029
X-CORRELATION-ID: 1543888192_497_86_l73c029_VDP_ARM
Cache-Control: private ,no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT ,-1
X-APP-STATUS: 500
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=2592000;includeSubdomains
Pragma: no-cache
Content-Language: en-US
Content-Length: 0
Date: Tue, 04 Dec 2018 01:49:52 GMT
Connection: keep-alive
Solved! Go to Solution
Hi @devin,
What API are you using for this project?
Hey,
Currently I am only trying to get the helloworld working but I do have the following APIs added to my project:
Hi @devin,
Thanks for sharing your solution with us!