Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 Netsuite 将数据推送到第三方网站。相同的推送脚本在沙盒中运行良好,但在移至生产环境时会返回“必须是 POST 请求”错误。以下代码我在沙盒和生产中都使用过。是否存在任何特定功能来解决此问题?谁能帮我纠正这个问题。谢谢。
我猜你的测试是客户端;
这个 API 有两种不同的形式。在服务器上没有回调参数,所以只需删除 null 回调:
var response = nlapiRequestURL(portalURL, myJSONText, headers);