json - 使用 Postman 的 NetSuite RESTlet NLAuth
问题描述
我是 NetSuite 的新手,我尝试使用 Postman 发出 REST 请求,我在标题中写入了 NLAuth 授权,如上一行:
Authorization : NLAuth nlauth_account=0000000, nlauth_email=at@at.com, nlauth_signature=mypassworld,nlauth_role=3
我遵循本教程的过程:https ://community.boomi.com/docs/DOC-2676#jive_content_id_To_call_the_getRecord_RESTlet
但我收到以下回复:
{
"error": {
"code": "INVALID_LOGIN_ATTEMPT",
"message": "Invalid login attempt."
}
}
解决方案
使用 Postman 的内置授权工具构建正确的 OAuth1 标头:https ://www.getpostman.com/docs/v6/postman/sending_api_requests/authorization
推荐阅读
- r - 如何删除r中列中的特定字符?
- reactjs - 是否可以从史诗中的重新选择中获取选择器?
- flutter - 将数据添加到另一个页面上的列表 Flutter
- apache-flink - Flink 检查点与 kafka 分区有关吗?
- spring - 休眠 | 使用枚举属性转换器映射数据类型“字节”不起作用 - 错误:没有 JDBC 类型的方言映射:277630005
- c# - 将 JsonResponse 反序列化为 C# 对象
- c - C程序在我停止后给出结果
- windows - Win CMD 中的二进制文件编辑
- javascript - 使用 Xpath 唯一标识自动完成列表中具有相似文本的元素
- c# - 如何组织多个动画?需要帮助做一个组合