'Cannot solve ECONNRESET when using https://ninjaweb.xyz/ to proxy http requests

Issue Description:

  • I figured out that internally, this endpoint is called: https://ninjaweb.xyz/index.php/?cdURL=https://api.dictionaryapi.dev/api/v2/entries/en/hello
  • But the response can be received only when I input the destination url in the webite's input field.
  • I am using axios for making the request

What I want to achieve

I will be able to use the endpoint from my nodejs applicationhttps://ninjaweb.xyz/index.php/?cdURL=https://api.dictionaryapi.dev/api/v2/entries/en/hello and get the same result as calling https://api.dictionaryapi.dev/api/v2/entries/en/hello

Any suggestion accepted gratefully. Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source