Forum Discussion

_Oliver_'s avatar
3 years ago

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