🔨How to Use Visual Studio Code as REST Client to Test REST APIs [Stop using Postman and Insomnia...]

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 13

  • @jjin8114
    @jjin8114 2 года назад

    Thank you for sharing how to set variables. I was confused when I look into the official doc. You helped me a lot!

  • @pjmclenon
    @pjmclenon Год назад +2

    Hello but you don't provide your files and source code or the api endpoints you are using
    I cannot follow thank yiu anyway
    Lisa

  • @fabian-manzano
    @fabian-manzano 2 года назад +1

    Thank you for sharing, this is really handy! I just missed one thing, how do you create the enviroment, I cant see the option for that. Thank you

    • @DeLucaGiulian
      @DeLucaGiulian  2 года назад

      Hi Fabian,
      Thanks for watching.
      In this specific point of the video you can see that I created several environments in the JSON fle:
      ruclips.net/video/8uyTn4cg8Xc/видео.html
      I have $shared, Giuleon, M365ChaneBoardTest, Test and Prod as environments.
      Every variable contained in $shared will be visible in all other environments.

    • @fabian-manzano
      @fabian-manzano 2 года назад

      @@DeLucaGiulian Thank you, yeah I didnt realise it was just as easy as creating the .vscode folder and the settings.json file, this is so nice, I love postman but this is going to be a good change for me and my team :)

  • @ThatsMistaTwistToYou
    @ThatsMistaTwistToYou Год назад

    Hi Giuliano - thanks for sharing this really useful tip! I'm trying it out, but can't get my http files to reference the custom .vscode/settings.json file correctly. Is there anything else that I need to set in vscode for this file to be used? Thanks for any help!

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      Thanks for watching.
      Once you have installed the VS Code extension the setting file should be automatically detected.
      In any case you can find additional info here:
      marketplace.visualstudio.com/items?itemName=humao.rest-client

  • @shivamsahil3660
    @shivamsahil3660 Год назад

    Is there way to save sample response for reference?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      Yes you can create sample requests in the JSON

  • @static-m-s
    @static-m-s Год назад

    How we can set the extension to print the response in the terminal?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      This is currently not supported

    • @static-m-s
      @static-m-s Год назад

      @@DeLucaGiulian is it there any plans for such feature?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад +1

      No idea, but you can try to ask directly to the creator of the extension, and please let us know here:
      marketplace.visualstudio.com/items?itemName=humao.rest-client