diff --git a/contributing.md b/contributing.md index 1af3d1129..190b79a70 100644 --- a/contributing.md +++ b/contributing.md @@ -3,10 +3,10 @@ First of all thank you for considering to contribute. Please look at the details below: - [Contribution](#contribution) -- [New Roadmaps](#new-roadmaps) -- [Existing Roadmaps](#existing-roadmaps) -- [Adding Content](#adding-content) -- [Guidelines](#guidelines) + - [New Roadmaps](#new-roadmaps) + - [Existing Roadmaps](#existing-roadmaps) + - [Adding Content](#adding-content) + - [Guidelines](#guidelines) ## New Roadmaps @@ -23,7 +23,7 @@ For the existing roadmaps, please follow the details listed for the nature of co ## Adding Content -Find [the content directory inside the relevant roadmap](https://github.com/kamranahmedse/roadmap-astro/tree/master/src/roadmaps). Please keep the following guidelines in mind when submitting content: +Find [the content directory inside the relevant roadmap](https://github.com/kamranahmedse/developer-roadmap/tree/master/src/roadmaps). Please keep the following guidelines in mind when submitting content: - Content must be in English. - Put a brief description about the topic on top of the file and the a list of links below with each link having title of the URL. diff --git a/src/roadmaps/nodejs/content/107-nodejs-apis/107-api-calls-http.md b/src/roadmaps/nodejs/content/107-nodejs-apis/107-api-calls-http.md index 990de55b1..c31f049a4 100644 --- a/src/roadmaps/nodejs/content/107-nodejs-apis/107-api-calls-http.md +++ b/src/roadmaps/nodejs/content/107-nodejs-apis/107-api-calls-http.md @@ -1 +1,12 @@ -# Api calls http \ No newline at end of file +# Making API calls with HTTP + +You can make API calls using the `http` module in Node.js as well. Here are the two methods that you can use: + +- `http.get()` - Make http GET requests. +- `http.request()` - Similar to `http.get()` but enables sending other types of http requests (GET requests inclusive). + +Visit the following resources to learn more: + +* [Node.js `http.get()` documentaion](https://nodejs.org/docs/latest-v16.x/api/http.html#httpgeturl-options-callback) +* [Node `http.request()` documentaion](https://nodejs.org/docs/latest-v16.x/api/http.html#httprequesturl-options-callback) +* [How To Create an HTTP Client with Core HTTP in Node.js](https://www.digitalocean.com/community/tutorials/how-to-create-an-http-client-with-core-http-in-node-js) \ No newline at end of file