Calling REST with PowerShell

  Рет қаралды 24,337

John Savill's Technical Training

John Savill's Technical Training

Күн бұрын

Пікірлер: 41
@jefffuhr2393
@jefffuhr2393 3 жыл бұрын
How one person can have so much knowledge, teach it with (seemingly) effortless ease, and be so likeable in the process, is a mystery. Your complete library of work is above and beyond "giving back" to the community. On behalf of everyone who agrees, sincere thanks for everything Mr. Savill.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
That is very kind, thank you. I've been very fortunate in life and important to try and give back. This seems like the best way I can.
@Billy2Sips
@Billy2Sips Жыл бұрын
Hear hear!
@sohail789
@sohail789 2 жыл бұрын
I must say as an IT consultant, I hardly subscribe to "IT Trainers" as they know just enough for students to pass their exams. I've now watched a few of John's videos and I must say the quality of training is one of the best I've seen on youtube. You now have a new subscriber!
@spiffykat4049
@spiffykat4049 2 жыл бұрын
I was originally a Linux/C guy until I spent the last 10 years in a windows env an I have to say that your vids helped me in my transition. This is my first time commenting for any of your material but as of the last 3-5 years, you were there. Thank you for taking this time to produce high-quality informational archived info.
@bharathsimha2822
@bharathsimha2822 3 жыл бұрын
When I saw u r new videos I am pretty happy to learn new things,thanks john..
@SuperSasori9
@SuperSasori9 3 жыл бұрын
Thank you John. These videos are perfect, have learned so much from you. I also watch your videos on Plural Sight .
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Awesome to hear, thanks!
@JAGADEESANBOnNet
@JAGADEESANBOnNet 3 жыл бұрын
Thanks a lot for this Video John and I really liked the part about Escaping $ as I always had some problems with this which takes lot of time.
@Biska_Wolf
@Biska_Wolf 3 жыл бұрын
Subbed for the amazing teaching style, liked for the biceps. Great teaching style John!
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Hehe thanks🤙
@notoriousft
@notoriousft 3 жыл бұрын
Thanks John. I needed this.
@saeedredrose
@saeedredrose 3 жыл бұрын
Indeed needed. Thanks very much
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Glad it was helpful!
@yulaw3289
@yulaw3289 Ай бұрын
enjoying this video for today learning, thanks a lot! .
@VishnuKamath
@VishnuKamath 3 жыл бұрын
You Rock John... I needed this tutorial for a Project. Thanks a Ton.
@TomWhi
@TomWhi 3 жыл бұрын
Great video, I know I’ll be coming back to it a bunch now whenever I interact with an API 🤘🏼
@amks8933
@amks8933 3 жыл бұрын
Hi John, awesome explanation! You rock. By the way what is the model of your display and which digital pen are you using. Just curious to know 🤔
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Thanks. I have a setup playlist on the channel where I walk through all the various bits :) hope that helps
@amks8933
@amks8933 3 жыл бұрын
@@NTFAQGuy: OMG. You have spent a lot on the setup :-)
@Avg-Bear
@Avg-Bear 3 жыл бұрын
Nicely done on the explanation side! Understanding these things better all the time because of guys like you! I've done these with username/password authentication successfully with persisting sessions. Now I'm attempting to do the same but, with a smartcard. Any experience with passing smartcard w/ pin? Maybe it's the same and I'm making it more complex than it needs to be 😂
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
That’s just the auth of the session, does not change anything really but obviously thats interactive.
@michelnader750
@michelnader750 3 жыл бұрын
Thanks John!!!
@cdm297
@cdm297 3 жыл бұрын
Excellent video :-)
@KentoTM
@KentoTM 3 жыл бұрын
Awesome video! I was curious about when you hover over a variable for example -Headers $authHeader it shows what it's holding. Is that a VS code extension?
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
You know I'm not 100% sure lol. I'll have to dig into how that is happening. Maybe someone here can tell us the exact extension or config flag. I'll play around.
@MrDinopixel
@MrDinopixel 3 жыл бұрын
Thanks John! Came in handy! Just curious, what annotation tool do you use? Is quite effective at highlighting the discussion area
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
zoomit.
@paulrobinson270
@paulrobinson270 3 жыл бұрын
great video John, thanks a lot. the issue you see with the $ symbol. will it work if you place the string it inside single quotes? it will treat the $ as literal.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Yes it will but then I can't include an actual variable I want expanded so its pro and con.
@firstspar
@firstspar 3 жыл бұрын
Do you still need to have an escape before the $ in the URI string if you put it inside brackets?
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
in a string it doesn't matter where it is. Go try it :-)
@77zishan
@77zishan 3 жыл бұрын
John I think I love you
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Lol, thanks :)
@EXPmusic
@EXPmusic 3 жыл бұрын
came for the code, stayed for the biceps. Got a script for big biceps? really gotta automate that. lol
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Pizza 😃
@grrlgd3835
@grrlgd3835 2 жыл бұрын
how about if I want to post multiple files ? many tks
@NTFAQGuy
@NTFAQGuy 2 жыл бұрын
Don't understand what you are asking. please be more specific.
@Wakko13
@Wakko13 Жыл бұрын
Very helpful; specially the "$accessToken = Get-AzAccessToken". I was banging my head on this trying to get it to authenticate with a Vault Key secret. Didn't need it as I could just use my exist ARM token. Thank you!
@saladproblems
@saladproblems 3 жыл бұрын
After probably a good 7 years of using APIs with PowerShell I just recently figured out that the body parameter builds the URI parameters for you when using a GET method. If you do the same command with your URI and use a body, will it handle the rest for you? Invoke-RestMethod 'myri/comput' -body @{ 'api-version' = '2019-04-018'; e = { filter = "location eq 'eastus2'" }} I've written modules for several APIs and had built out a lot of string manipulation logic to handle filters and whatnot, and then I finally just noticed when I provided a body with a get on accident and viewed the verbose output that it was doing all the escaping and concatenating for me, and I was able to go back and simplify a lot of my code.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
I will have to try putting that in the body!
Managing with Microsoft Graph (and PowerShell)
33:21
John Savill's Technical Training
Рет қаралды 47 М.
Call REST APIs with Invoke-RestMethod in PowerShell
30:02
Adam Driscoll
Рет қаралды 18 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 195 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 22 МЛН
GET Requests to RESTful API with Powershell !
7:51
MrPowerScripts
Рет қаралды 43 М.
PowerShell and APIs 102: How to use Swagger and Invoke-RestMethod with Stephen Valdinger
1:19:43
Research Triangle PowerShell Users Group
Рет қаралды 1,2 М.
New PowerShell Secrets Management Module - Easily use any secret provider
20:15
John Savill's Technical Training
Рет қаралды 17 М.
Build a Rest API with GoLang
34:14
Laith Academy
Рет қаралды 122 М.
How to use Postman and PowerShell to Query API data
19:40
Travis Roberts
Рет қаралды 14 М.
Navigate the Microsoft Graph API with PowerShell
41:54
PowerShell.org
Рет қаралды 9 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Azure AD App Registrations, Enterprise Apps and Service Principals
33:44
John Savill's Technical Training
Рет қаралды 233 М.
Getting Started with Azure PowerShell
52:31
John Savill's Technical Training
Рет қаралды 38 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24