How to use Postman and PowerShell to Query API Data

Postman and PowerShell

In this video, I demonstrate how to use Postman, a free API development and testing tool, to format URL’s and make requests against web endpoints and use those URL’s to get data in PowerShell.  I also give a quick walk through of viewing the data in PowerShell.

Referenced Links:
Open Weather:
Oxford Dictionary (Prototype option is limited free)

One thought on “How to use Postman and PowerShell to Query API Data

  1. Hi Travis,

    I am trying to work with invoke-restmethod for the first time. I have a URL from our HR provider. I know this URL works as I get an output in Postman using the key in the header. However when I use invoke-restmethod in PowerShell I get no out put.

    PS C:\WINDOWS\system32> $params

    Name Value
    —- —–
    ContentType application/json
    Method GET
    Headers {X-SFAPI-AppName, X-SFAPI-RSAKey, X-SFAPI-Account}

    PS C:\WINDOWS\system32> (Invoke-RestMethod @params).length

    Can you please help me out what could be wrong or what is causing the no output in the Invoke-RestMethod command?


Leave a Reply

Your email address will not be published.

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