Forum Discussion

_Oliver_'s avatar
_Oliver_
Contributor
3 years ago
Solved

Connect to Azure Cosmos DB from ReadyApi

Hi all,

 

I am trying to find a way to connect to Azure Cosmos DB from readyApi. I assume the best way is to do it using a groovy script but I am not really sure. I searched for a solution here and on the web in general, and even though I can see that I am definitely not the first one trying to achieve this, I was unable so far to find any answer that provides an actual solution...

Any help on this subject would be more than welcome !

 

Thanks guys

  • richie's avatar
    richie
    3 years ago
    Hey _Oliver_

    In that case i'd go back and confirm the Cosmos DB version. If that resource i pointed you to was a little old, i know that MS have changed REST auth schemes for a number of their products over the last 5 years. Perhaps those instructions i found were out of date.

    Essentially there will be a number of URI/QUERY and HEADER parms you'll need to specify with the correct details, otherwise it wont work. Did you confirm and re-confirm youd specified the correct value for each of those parms defined in the postman instructions? If even one of those parms are incorrect, you wont be able to connect.

    Alternatively im guessing you might be able to ask Dev? Considering youre testing their code, it seems logical to think they might know something about this.

    Cheers

    Rich

8 Replies

    • _Oliver_'s avatar
      _Oliver_
      Contributor

      Hi Rich,

       

      Thanks. I did see this link but it does not provide a solution for the authentication part, which is the most tricky part to put in place. Apologies, I did not mention that specific item in my previous message.

       

      Regards

      Olivier