The Best Way To Send HTTP Requests

preview_player
Показать описание


In this video we'll cover HTTP Files. We'll learn more or less everything there is to know about them:
1. What are HTTP Files
2. What is the standard format
3. How to send HTTP requests via VSCode using the REST Client extension
4. How to define file variables
5. How to define environment variables
6. How to structure the HTTP requests inside a project

Hope you enjoy!

Connect with me on 'em socials:

Check out all my courses on DomeTrain:

Support the channel and get the source code:

Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻
Рекомендации по теме
Комментарии
Автор

If you are using postman for single requests you are missing the power of it

brandonbraner
Автор

Wow! Will test it out on Monday. Looks, that it's the first time I really can get rid of Postman

BBMG
Автор

hi Amichai, thanks for great content.

just an idea to make it better, it took for times to understand why my visual Studio doesn't recognize .HTTP like yours. and then I installed REST Client extension. now it works.




edit: you explained it, sorry my fault😂

ehsangoodarzi
Автор

More of a vscode question, but is it possible to have multiple workspace settings files? I.e. i want one that has all the "public" settings and a second that has user / password in gitignore (but not in the "user" settings as they are shared across many projects.)

MacheteBang
Автор

Thank you for the comprehensive video.
What's the software you use to add annotations to the video? I mean those neon-like rectangles and arrows.

Amr-Ibrahim-AI
Автор

Thank you for this great content ❤.
I have just one question why you don’t use visual studio ? Or if I ask my question differently then how to use http files in visual studio and where to put token in global variables. Please help.

nirajchandrajoshi
Автор

What do you do about storing tokens until they are needed? I use a secure workspace in postman.

Vietnamkid
Автор

What about when you need to get the bearer token from request a response header? is there a way to update the env variable on the fly?

JordanHumbertodeSouza
Автор

Are enviroment variables able to be handled the same way for .http files in Rider/VS aswell?

tidus
Автор

How do you overwrite the token env variable from a login post request?
So you don't have to paste the token manually in the env variables file
Thanks

joseluiseiguren
Автор

If you delete postman how do you browse the internet?

fezhaez
Автор

Is there a way to preserve cookies sent from api for the following requests?

arsenaghajanyan
Автор

does it do prescript, test, or read variable values from a file etc?

congjuny
Автор

Cool video. One Question what if I want to update the token in Environment value from a request

abhishekbagchi
Автор

Did you vscode or vs in your coursed please?

shomari
Автор

It is unfortunate that the variables are stored in the vscode settings instead of something like a file in the root of the httpfiles, or project root for that matter

petter.envall
Автор

How do you handle secrets and making sure the token is not checked in?

OlleHellman
Автор

Thanks for the video. Can you also have part 2 of this video where you process the json responses and set new values of environment variables and then send 2nd http request to some another endpoint after that (using json data values from success response data).

vibes
Автор

So I can do this all in postman. What about populating the variable with a HTTP call? Say I have an API call to get a token and then want to use that token in other API calls? I can do this in Postman, can it be done with this?

ChrisWard
Автор

Another good one! :)
Thank you Amichai

shayvt