Recommended API for retrieving card data

Follow

Comments

3 comments

  • Avatar
    Hkarachiwala

    Hello,

    How do I use HMAC authentication with the MQL API? Will the query be part of the URL that is used to generate the key? Does the query need to be URL encoded? And does it just have to be a query parameter? I have tried some variations but could not successfully authenticate my requests using Postman.

  • Avatar
    Anish Venkat

    Hello,

    There's no direct way to use HMAC authentication in Postman. There are a few prerequisites that need to be addressed before you use the HMAC authentication - 

    1) Creating a MD5 checksum for the request.
    2) Creating a HMAC signature
    3) Base64 encoding of the HMAC signature.

    We have a script in Ruby for 'Execute MQL API' endpoint using HMAC authentication. I'd advise you to look at this option. In this example, the MQL is passed as a query string in the url.

    Please reach out to support@thoughtworks.com in case you have any questions.

    Thanks,

    Anish

     

     

  • Avatar
    Hkarachiwala

    Great thanks Anish, that will help.

Please sign in to leave a comment.