Forum Discussion

Srikanth_Reddy's avatar
Srikanth_Reddy
Contributor
3 years ago

REST Endpoint creation on Khoros platform

how can we create a new rest endpoint on khoros platform, which we can test from the outside like the postman tool? 

    • Srikanth_Reddy's avatar
      Srikanth_Reddy
      Contributor

      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. 

      • AdamN's avatar
        AdamN
        Khoros 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.