Forum Discussion
Hey I'm going to assume you've read here - https://developer.khoros.com/khoroscommunitydevdocs/docs/about-endpoints
Are you specifically having issues accessing the Endpoint?
Yes, I have already gone through the given URL.
As mentioned on that page, I have created an endpoint in the studio and it is having a link for that created endpoint.
But how can I access this endpoint from postman?
while trying to test with generated URL, it is giving an error.
- cblown3 years agoBoss
Perhaps you need to whitelist the calling domain as mentioned in this thread.
It could be that you have not whitelisted the HTTP client domain.
You have to whitelist the caller domain for the http client here:
ADMIN DASHBOARD > SYSTEM > HTTP ClientHere you will find an input field called "Allowed domain names", where you can enter the http client domain.
- AdamN3 years agoKhoros Oracle
Srikanth_Reddy If you're testing against stage, you could be running into htaccess / Basic Authentication restrictions. This article talks about how to add the basic auth username and password to the request: https://learning.postman.com/docs/sending-requests/authorization/#basic-auth
If that doesn't solve your problem, can you share more details about the error you're seeing? The HTTP response code and response message may help to give some clues as to where the problem lies.
- Srikanth_Reddy3 years agoContributor
Hi ,
I tried with same Basic Auth method by providing the proper user name and password.
From the postman, it is giving an error like "could not get response " error.
I have added an attachment for reference.
Thanks
- AdamN3 years agoKhoros Oracle
Srikanth_Reddy Based on the error in the screenshot, it looks like a SSL/cert issue. I think you have a couple options:
- Recommended: Work with Khoros to setup a CNAME for your instance and have an SSL cert provisioned and configured for your hostname. If you're engaged in a Professional Services project already, please flag this for your project team. Otherwise, you can open up a ticket with Khoros Support and ask them for help setting up the CNAME and SSL for the environment. You'll need to work with your DNS team to create the CNAME record, and the Khoros team can help take care of the rest.
- Alternate: If you just need to test something quickly, you can work around the issue in Postman by updating your CA Certs configuration in Postman to include the CA used by the Khoros certificate (currently "Amazon Root CA 1"). More information here: https://blog.postman.com/encryption-ssl-tls-and-managing-your-certificates-in-postman/
Related Content
- 8 years ago