Sending HTTP Requests as JSON or Form with Node.js and TypeScript

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

I will also show you how to trigger different types of HTTP requests from the command line using the HTTPie tool. We will see that request data can be passed in the URL as a query string with query params, or by using the dynamic segments. Query params is a part of the URL that starts after the question mark (?) sign. Multiple query params are separated by the ampersand (&) sign. Dynamic URL segments is a convention that allows us to designate any part of the URL, usually at the end as dynamic. This means that the specific dynamic part and put it into a variable. Lastly, we will discuss sending the request data as its body.

#nodejs #typescript #http
Рекомендации по теме
Комментарии
Автор

I want to know that how can I pass Object as parameter in post request

baksh
Автор

will you add database in this API in later videos

girishparate