.NET 8 - HTTP Files

Поділитися
Вставка
  • Опубліковано 25 січ 2024
  • Played-out with Postman? Sick of Swagger? Test your APIs with an HTTP file.
    Source code available at: github.com/JasperKent/HTTP-Files
    Topics include:
    - Using .http files in a new project.
    - Analysing APIs with the endpoint explorer.
    - Generating .http files from a Controller-based or minimal API.
    - Sending requests from a .http files.
    - Using variables in request URLs.
    - Using variables for the request content.
    - GET, POST, PUT and DELETE requests.
  • Наука та технологія

КОМЕНТАРІ • 18

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

    Which do you prefer, Postman or Swagger, or will you be switching to using HTTP files?
    Source code available at: github.com/JasperKent/HTTP-Files
    Remember to subscribe at ua-cam.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

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

      Github shows page not found

    • @TheSnakeCro
      @TheSnakeCro 2 місяці тому

      Insomnia my favourite ❤

  • @codingbloke
    @codingbloke 4 місяці тому +2

    I alternate between both Swagger and http file. The http file allows you to work within the IDE and is much easier when iterating the development of an endpoint or when testing requires the use of one or more other end points before examining the behavior of the subject end point. Whereas Swagger is useful for reviewing the features of the API overall and examining the shape of the schema.
    Like you demonstrated its common to start with swagger to play around with API then copy and paste any problem parameters and content to the http file to work on the further dev.

  • @Denis-bd4ee
    @Denis-bd4ee 4 місяці тому +1

    Спасибо за видеоролик. Наткнулся на ваш канал совсем недавно, сейчас занимаюсь изучением C# и нахожусь на этапе изучения Делегатов, Событий и ваши видео ролики очень сильно помогают. Очень благодарен вам за ваш контент.

  • @Praveen.Kumar.
    @Praveen.Kumar. 4 місяці тому +1

    Thank you sir for sharing.

  • @ghaiathaltrabulsi135
    @ghaiathaltrabulsi135 4 місяці тому +1

    Many thanks for the good (as usual) video. Is it possible to make a video about "Mutex", "Semaphore" and "lock". And how to use them sync and async scenarios. Thanks. :)

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

    Mr. Kent, I think you are a very interesting person. May I ask, how can you be so productive? You have studied physics, you program very well, you have written books, and I guess you are making music too? I wish I could be as productive as you, do you have any secrets? :)

  • @DmitryLubenskiy
    @DmitryLubenskiy 4 місяці тому +1

    Hello. Would it be reasonable to integrate http files into unit testing frameworks?

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  4 місяці тому +1

      I can't really see how, since the results still have to be read visually.

  • @llionking055
    @llionking055 15 днів тому +1

    Many thanks❤ can we pass the token from the login response to the next request? We can set token to environment variable in Postman

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  14 днів тому

      The way I'd do it would be to put the token in a variable, then use the variable in the authentication header for the request. Then you just have to cut and paste the token value from the login response to the variable.

    • @llionking055
      @llionking055 13 днів тому

      @@CodingTutorialsAreGo thank you for your response but I think it would be better if we could send the login request and then store it in a variable for the later request (similar to Postman)

  • @mahdi4581
    @mahdi4581 4 місяці тому +1

    good👍