node-course-v3-code icon indicating copy to clipboard operation
node-course-v3-code copied to clipboard

web-server: unable get geocode and forecast using request() in windows

Open AnkitPandey007 opened this issue 4 years ago • 1 comments

While accessing via address bar APIs( https://api.mapbox.com/geocoding/v5/mapbox.places/..., https://api.darksky.net/forecast/....) working fine.

While using web-server project code then in request({ url, json: true }, (error, { body} = {}) => {...... body is undefined

Error: connect ETIMEDOUT 13.227.238.179:443

AnkitPandey007 avatar Mar 16 '20 11:03 AnkitPandey007

darksky does not give free access to API development and there is no sing up available anyy more , and by using the same url in teaching course i get the error below { code: 401, error: 'permission denied' } when use the response.body code

oxygenroad avatar Oct 18 '20 22:10 oxygenroad