Тёмный

How to use Postman and PowerShell to Query API data 

Travis Roberts
Подписаться 35 тыс.
Просмотров 15 тыс.
50% 1

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:
Postman:
www.postman.com/
Open Weather:
openweathermap...
Oxford Dictionary (Prototype option is limited free)
developer.oxfo...
The “mn” value was ignored and only the city was used by the API in the recording. I did not get “city, state” to work after recording this video. In the end, I used zip codes instead of the city name to pull weather data.

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@jeffsandy4075
@jeffsandy4075 4 месяца назад
You covered it all! Thanks. Like you, I'm an infrastructure guy who, from time-to-time, has to do developer things - with PowerShell. This bridged the gap!
@JonathanSwiftUK
@JonathanSwiftUK 2 года назад
Travis, you really are an excellent trainer, this is very clear and east to understand. Combining it with Postman is very helpful.
@DrtriderTV
@DrtriderTV 3 года назад
Not bad. However, I think it's crucial to mention that building the headers in API calls in Powershell is really tough. There is a feature called "code snippet" in PostMan. It even has a PowerShell rest-method function in there to easily create PowerShell code. Would've been invaluable to have that in this tutorial. I stumbled on it by accident.
@DannyNilsson
@DannyNilsson Год назад
I tried the snippet but it really over complicates how to create the request instead of how the header is created i just used $headers = @{ "Content-Type" = "application/json" }
@yamahabeat
@yamahabeat 3 года назад
This is a brilliant tutorial!
@whoaMI-mi9hb
@whoaMI-mi9hb 3 года назад
Really cool easy to understand tutorial , is it possible and good idea to use REST API to manage / deploy instances in AWS EC2 or AZ COMPUTE
@Ciraltos
@Ciraltos 3 года назад
Thanks. I haven't thought much about doing that. It would depend on the environment and requirements. Security is always important as well.
@mickymcl8359
@mickymcl8359 Год назад
Hi Travis, newbie so apologies for this question: do I have subscribe to a plan in Openweather to be allowed to allow me to send an API Key from the Postman application?
@sajjadrahman369
@sajjadrahman369 3 года назад
Excellent explanation
@Ciraltos
@Ciraltos 3 года назад
Glad it was helpful!
@alex09lop
@alex09lop 4 года назад
Useful information, thanks for sharing
@Ciraltos
@Ciraltos 4 года назад
Thanks for visiting
@amitmerchant7205
@amitmerchant7205 4 года назад
Very nice
@thaddeuspearson500
@thaddeuspearson500 3 года назад
thank you for this
@Ciraltos
@Ciraltos 3 года назад
You bet!
@gumbypokey7
@gumbypokey7 4 года назад
I believe your state code should be "US-MN" as referenced in ISO standard here: en.wikipedia.org/wiki/ISO_3166-2:US
@Ciraltos
@Ciraltos 4 года назад
Thanks!
Далее
Postman Api Testing Tutorial for beginners
16:45
Просмотров 42 тыс.
НЮША РОЖАЕТ?
00:17
Просмотров 1,1 млн
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
Просмотров 1,4 млн
Learn REST APIs the EASY way with Postman
17:14
Просмотров 10 тыс.
Advanced PowerShell - Runspaces
17:04
Просмотров 9 тыс.
Getting Started with Microsoft Graph and PowerShell
18:07
Navigate the Microsoft Graph API with PowerShell
41:54
API Testing Using Postman | Crash Course
3:27:51
Просмотров 99 тыс.
PowerShell Remoting
37:12
Просмотров 72 тыс.