Files
node/doc/api
Hassaan Pasha 0d34767c4c doc: sending http request to localhost to avoid https redirect
In the JSON fetching example, http.get request is being sent to
an http url that redirects to https. This causes the http.get
request to fail. To avoid redirect errors, a local http server
is set up that returns a json response.

Fixes: https://github.com/nodejs/node/issues/37907

PR-URL: https://github.com/nodejs/node/pull/38036
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-04-06 07:45:31 -07:00
..
2021-02-22 12:30:52 +01:00
2021-03-08 19:20:16 +01:00
2021-02-08 10:25:27 -08:00
2020-11-13 06:02:16 -08:00
2021-02-02 21:50:24 +01:00
2021-04-01 19:57:41 +02:00
2021-04-01 12:39:07 -07:00
2021-04-06 16:37:54 +02:00
2021-02-23 11:47:40 -08:00
2021-02-08 09:08:37 -08:00
2021-03-19 06:56:31 -07:00
2021-02-22 12:30:52 +01:00
2020-11-24 08:26:26 -08:00
2021-02-01 05:42:27 -08:00
2021-02-22 12:18:19 +01:00
2021-01-25 06:51:15 -08:00
2021-03-31 10:14:03 -04:00
2020-11-24 08:26:26 -08:00
2021-03-23 11:03:18 -05:00
2021-02-27 11:52:27 -08:00
2021-04-02 06:16:40 -07:00
2020-10-06 15:52:10 -07:00