Powershell – Rest API Basics

Probably the best explanation I have understood, without getting into too much technical or code specific explanation, so have a listen

So as I understand it:

  1. You need to get a token off the web service using some form of authentication
  2. That token is valid for a time period (say 20 min)
  3. You then use that token to carry out calls to the web server
  4. You need to refresh that token before it expires or you will need to get a new token
  5. As the web service only keeps one bit of information: The tokens and their expiry time, it is easy to handle many sessions, (scaleability)
  6. The Rest URL often contains data to pass to the server
  7. It is stateless

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.