Hi Scott,
Thank you for the guidance. Now we are able to receive the payload from the API.
Have a wonderful weekend.
Search found 3 matches
- Fri Dec 01, 2023 5:25 pm
- Forum: HTTPAPI
- Topic: REST API authentication issue
- Replies: 4
- Views: 22576
- Fri Dec 01, 2023 7:29 am
- Forum: HTTPAPI
- Topic: REST API authentication issue
- Replies: 4
- Views: 22576
Re: REST API authentication issue
Hi Scott, Thank you for the prompt reply. I'm not familiar with the Java code. What does this line of code do? conn.setRequestProperty("api_key", "CQgeMbtWGFLbwPJSf-FOfxDo"); It is for api authentication key. Basically it is a header. Futher, 'SetHeader' method is not available i...
- Thu Nov 30, 2023 2:49 am
- Forum: HTTPAPI
- Topic: REST API authentication issue
- Replies: 4
- Views: 22576
REST API authentication issue
Hi, This is my first experience with HTTPAPI. We do have a REST API exposed in our ESB to validated Blacklisted customers. ESB services requires API key to access. We have written a Java program to access this REST API and it is mentioned below. import java.io.BufferedInputStream; import java.io.Buf...