Using the REST Client VSCode Plugin

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • Learn how to use the REST Client plugin for VSCode to test your APIs. I'll cover how to write basic tests, use variables, and how to easily switch between environments so you can configure the plugin for different targets.
    🔴 Subscribe today!
    / @brianmmdev
    👋 Connect w/me:
    ▪ Discord: fullstack.chat
    ▪ Twitter: / brianmmdev
    ▪ Website: brianmorrison.me
    ▪ Twitch (Gaming): / brianmm02
    __________________________________________
    🖥 My Rig
    ▪ CoolerMaster MB511: amzn.to/2AZfPUc
    ▪ GIGABYTE X570 AORUS Elite Wifi: amzn.to/2AZijlt
    ▪ Sabrent 1TB Rocket: amzn.to/316zIDy
    ▪ Corsair Vengeance RGB Pro 64GB: amzn.to/3epbybf
    ▪ AMD Ryzen 9 3900X: amzn.to/2CxwYov
    ▪ ASUS ROG STRIX GeForce GTX 1080: amzn.to/3hYuEar
    __________________________________________
    🎥 Streaming Gear
    ▪ SteelSeries Arctis 7: amzn.to/3hOUpJX
    ▪ Elgato Game Capture HD60 Pro: amzn.to/2V8nTc8
    ▪ Logitech C922x Pro Stream: amzn.to/2V7PKZY
    ▪ TaoTronics Camera Light: amzn.to/37QI4Ax
    ▪ InnoGear Microphone Arm: amzn.to/37Ql8Bk
    ▪ Audio-Technica AT2005USB: amzn.to/3ajIuRh
    __________________________________________
    ⏯ My Coding Series'
    ▪ Coding NodeJS APIs: • Coding NodeJS APIs
    ▪ Coding Discord Bots: • Coding Discord Bots
    __________________________________________
    📚 Other Excellent Learning Resources
    ▪ freeCodeCamp: www.freecodeca...
    Please note that links in this description may or may not be affiliate links, where I make a small commission if used.
    Thanks For Watching!

КОМЕНТАРІ • 64

  • @DavidKHill
    @DavidKHill 3 місяці тому

    Thanks Brian for releasing me from my commercial iron chains. I'll be donating to this guy's effort.
    Very well presented! I actually understood EVERYTHING you presented.
    Keep'em coming!

  • @michelalessandro
    @michelalessandro Рік тому +1

    Helped me a lot. Exactly the details that I needed and couldn't realize in docs. Thank you.

  • @MaxProgramming
    @MaxProgramming 3 роки тому +6

    This extension is a very useful. My machine cannot handle more and more instances of electron so it's a nice alternative to postman and insomnia

    • @brianmmdev
      @brianmmdev  3 роки тому

      Yeah its pretty awesome! Loving what its capable of.

  • @bobdpa
    @bobdpa 2 роки тому +1

    Awesome. Thanks Brian! Keep posting!

  • @Mvrck44
    @Mvrck44 3 роки тому +3

    Thank you! Much easier to understand than docs :)

    • @brianmmdev
      @brianmmdev  3 роки тому +1

      Glad it was able to help 😊

  • @SadeghMirzaee-fd8lg
    @SadeghMirzaee-fd8lg Рік тому

    Oh man, that was Efficient! Short and Effective!

  • @jpv512
    @jpv512 11 місяців тому

    Nice video with efficient setup and use, thanks, i hope they (res client plugin developper) could add testing to it, it's a fantastic tool

  • @JamesQQuick
    @JamesQQuick 3 роки тому

    This is great! Going to install this now :)

    • @brianmmdev
      @brianmmdev  3 роки тому

      Really interested in hearing your thoughts 😁

  • @chetanhanda
    @chetanhanda 4 місяці тому

    Thank you !!

  • @chetanhanda
    @chetanhanda 4 місяці тому

    Thanks!

  • @RoyCuenca
    @RoyCuenca 3 роки тому

    Great video, liked and subbed

  • @RodrigoHenrique-up7fb
    @RodrigoHenrique-up7fb 4 місяці тому

    Thanks guy

  • @kamilerastene5275
    @kamilerastene5275 2 роки тому +1

    Do you know how it compares to the Thunder Client extension?

    • @brianmmdev
      @brianmmdev  2 роки тому

      Sorry I don’t. Haven’t used Thunder Client yet

    • @kamilerastene5275
      @kamilerastene5275 2 роки тому

      @@brianmmdev Ok. thanks :)

  • @a2zinindia
    @a2zinindia Рік тому

    It's very helpful. Please suggest how to pass JSON object in POST. Thanks in advance.

  • @jasonhuang4333
    @jasonhuang4333 2 роки тому

    Very helpful! Thx

  • @jedinica021
    @jedinica021 10 місяців тому

    The only issue I have is that sometimes link "Send Request" becomes not clickable and I have to re-open rest file. This happens a lot when I edit other files and switch back and forth to rest file to test.

  • @KaushikGanguly72
    @KaushikGanguly72 6 місяців тому

    Is there a way to run all requests at once?

  • @diwakardayal954
    @diwakardayal954 2 роки тому

    three ### ah now its working thankss

  • @darshan1304
    @darshan1304 Рік тому

    how we can write pre-request-scripts written in postman in rest client?

  • @flaykaz
    @flaykaz Рік тому

    hey,i got a probel in my case i cannotn make the .http file ,any solution?

  • @sudharshanamohan
    @sudharshanamohan 2 роки тому

    This was really useful , how can I get specific json data from response ?

    • @brianmmdev
      @brianmmdev  2 роки тому

      Not sure I understand. What are you looking to do specifically?

  • @kvEik
    @kvEik 2 роки тому

    Loving the extension, but if you close that response-window containing your actual json, it aint comming back. ever. Nuke extensions folder/data, VSC etc. Its gone. Now i have to press F1 and run "Rest.client.request" command manually instead of using the command CTRL+ALT+R.... Found a fix for this? HIT ME UP!

    • @brianmmdev
      @brianmmdev  2 роки тому +1

      That's strange, sounds like a bug because I close the window all the time when Im done with it.

  • @skipa9906
    @skipa9906 2 роки тому

    Hi, great tutorial. I am new in learning APIs. Do you have step by step creation of Java APIs using VScode?

    • @brianmmdev
      @brianmmdev  2 роки тому +1

      Thank you! Sorry, I actually am not overly familiar with Java.

    • @skipa9906
      @skipa9906 2 роки тому

      @@brianmmdev Thank you.

  • @RajVadla
    @RajVadla 3 роки тому

    Thank you

  • @NoahNobody
    @NoahNobody 2 роки тому

    Is it possible to use this plugin with Supabase? I'm getting "message": "No API key found in request" even though I added an apikey and authorization key

    • @brianmmdev
      @brianmmdev  2 роки тому

      I'm honestly not familiar with Supabase so I couldn't really say. If you want though, you can join the Discord I mod, we have at least one developer who has worked extensively with Supabase that would probably know better than I would: www.learnbuildteach.com

  • @avalagum7957
    @avalagum7957 2 роки тому

    I might miss something in the documentation. How to put comments in .http files?

    • @brianmmdev
      @brianmmdev  2 роки тому

      If I recall, use the hash mark #

  • @arazibrahim7416
    @arazibrahim7416 9 місяців тому

    Thanks....

  • @ADSNGreenLife
    @ADSNGreenLife 3 роки тому

    I have [AllowAnonymous] attribute on HttpGet so how can send Authorization: None Rest Client???

    • @brianmmdev
      @brianmmdev  3 роки тому

      I think you can ignore setting that header. Otherwise you can try setting “Authorization: None” directly below the URL. I haven’t tested this, but I believe it should work.

    • @ADSNGreenLife
      @ADSNGreenLife 3 роки тому

      @@brianmmdev removed before you said bu now getting an error "getaddrinfo ENOTFOUND http"

    • @ADSNGreenLife
      @ADSNGreenLife 3 роки тому

      @brian if I removed above space from JSON now getting error " header name must be a valid HTTP token ["{"]

    • @brianmmdev
      @brianmmdev  3 роки тому +1

      @@ADSNGreenLife Youd need that space because it separates the headers from the body in the request.
      If you want, DM me your code on Twitter (@brianmmdev) and I can help you debug it.

  • @abelardodiaz6276
    @abelardodiaz6276 2 роки тому

    thanks

  • @daru25able
    @daru25able 2 роки тому

    How do you send a patch request through vs code rest client ?

    • @brianmmdev
      @brianmmdev  2 роки тому +1

      I imagine it would be to just use the `patch` method in replacement of where Im using the others. I havent tested that though.

    • @daru25able
      @daru25able 2 роки тому

      @@brianmmdev you are right, thanks

  • @schandraguptarajah2823
    @schandraguptarajah2823 3 роки тому

    nice

  • @agguLi
    @agguLi Рік тому

    Thanks for the video but imo Thunderclient is a much better plugin. It's like postman but much faster

    • @brianmmdev
      @brianmmdev  Рік тому

      I’ve heard that, but still haven’t done much with it. Appreciate the suggestion

  • @MijanurRahman-jo1st
    @MijanurRahman-jo1st 2 роки тому

    Can i test file with this?

    • @brianmmdev
      @brianmmdev  2 роки тому

      Not sure what you mean, what file?

    • @MijanurRahman-jo1st
      @MijanurRahman-jo1st 2 роки тому

      @@brianmmdev I want to pass file(file upload) and json or plain text data together using multi part form data. How can I do that?

  • @hurleywflow2227
    @hurleywflow2227 3 роки тому

    Helpful, one subscribe

  • @abhishekbiswas2267
    @abhishekbiswas2267 3 роки тому

    Awesome mate... how do I pass NTLM auth in the request? 🤔

    • @brianmmdev
      @brianmmdev  3 роки тому

      Thanks! Looks like that feature is on the backlog for now: github.com/Huachao/vscode-restclient/issues/15

  • @OmarElmasry1
    @OmarElmasry1 3 роки тому

    Great video, liked and subbed

    • @brianmmdev
      @brianmmdev  3 роки тому

      Glad you liked it, thanks for the sub too!