We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

REST API layout

Comments

2 comments

  • Avatar
    Gerard Cafaro

    Yes, you can use tokens with Basic authentication. You just need to append "/token" to the end of the username and use the token as the password. I was able to make a call from REST API layout within Assure using the token of my test email account. The same style of token-based Basic authentication works externally from Assure too, such as via curl. 

    Here's a snippet of the relevant REST API layout fields:

    0
    Comment actions Permalink
  • Avatar
    JL Macatula

    Does this work if the token is not constant and have expiries?    wondering if there are other ways to handle tokens.  because we have a uid and password to use.  plus the tokens which expires after an hour. so the expectation is, that the REST API job that will come from Assure will finish before the expiration. 

    0
    Comment actions Permalink

Please sign in to leave a comment.