【发布时间】:2020-09-12 06:42:26
【问题描述】:
我似乎无法调试 restlet。我不断收到错误:
INVALID_HOST
Invalid host debugger.netsuite.com. Please send RESTlet requests to https://rest.netsuite.com/.
即使我的部署将外部 URL 列为:
https://debugger.netsuite.com/app/site/hosting/restlet.nl?script=58&deploy=1,状态为“测试中”
我登录 debugger.netsuite.com,单击以使用现有脚本,它为我提供了一个 cookie。我将此 cookie 添加到我的 HTTP 请求标头中,但仍然返回上述错误。
我发送的请求头是:
Cookie: NS_VER=2012.1.0; JSESSIONID=$session_id
Content-Type: application/json
Authorization: NLAuth nlauth_account=$account_id,nlauth_email=$email,nlauth_signature=$password,nlauth_role=
有人知道为什么我无法连接到调试器吗?
【问题讨论】:
标签: netsuite