2 Responses

  1. Using the GET Method with PowerShell and RESTful APIs - Wahl Network

    […] // In my last post focused on dealing with RESTful APIs via PowerShell, I went fairly deep into how to construct the required key-value pair for Basic Authentication. This is a common and simple process for providing credentials needed to authenticate against an endpoint / resource over HTTPS. The next step is to create an API request. To start, I wanted to go through the process using the GET method, which retrieves data and should always be idempotent. […]

  2. Rakesh Mehra
    Rakesh Mehra at |

    I still din’t get it!

    {change: ‘Name’ from: ‘benjamin franklin’ to: ‘john doe’}

    I send the above request for the first time, and I guess the name would be changed from ‘benjamin franklin’ to ‘john doe’

    I send the above request second time, nothing changes

    I send the above request 3rd time, nothing changes

    I send the above request fo nth time, nothing changes..

    idempotent?

    Reply

Share your point of view!