SDK-NodeJS icon indicating copy to clipboard operation
SDK-NodeJS copied to clipboard

enable recastai to work via proxy

Open jjwallaby opened this issue 7 years ago • 1 comments

Hi, would be good if recastai calls can work behind a proxy. Meaning that the http/https requests need to specify the proxy to be able to reach outside. I do see superagent and superagent-proxy kind of used, but it is not setting the proxy. also superagent-proxy is not reading the HTTP_PROXY environment variable.

jjwallaby avatar Sep 25 '18 09:09 jjwallaby

You can pass an option arg to dialog or request, with a proxy field inside, did you try that ? Here is the implementation for reference : https://github.com/RecastAI/SDK-NodeJS/blob/master/src/apis/build/index.js#L16

dbousque avatar Sep 25 '18 09:09 dbousque