简体   繁体   English

从 POSTMAN 收到的数据与 JAVA rest Z8A5DA52ED1264747D359E70AZ0 call5AAZ 之间的不匹配

[英]Mismatch between the data received from POSTMAN compared to JAVA rest api call

enter image description here Hi Team,在此处输入图像描述嗨团队,

When I am trying to pull the records from salesforce database by an API call I'm getting a response differently compared to when I make the call in postman for a order.当我尝试通过 API 调用从 salesforce 数据库中提取记录时,与我在 postman 中调用订单时相比,我得到的响应不同。 I am not getting any errors but the java rest api call response is not getting the same response as I was expecting from the salesforce output. I am not getting any errors but the java rest api call response is not getting the same response as I was expecting from the salesforce output. I tried switching the browser clearing the cache and that didn't work.我尝试切换浏览器清除缓存,但没有奏效。 From Java rest api call I see two records obtained but when I did with salesforce I can see one (PS I used the same url and copied the same token from java rest get call) From Java rest api call I see two records obtained but when I did with salesforce I can see one (PS I used the same url and copied the same token from java rest get call)

can you please check whether you are hitting with the same user/ same user bearer token.你能检查一下你是否使用相同的用户/相同的用户不记名令牌。

some times the data will be fetched based on the groups maintained in the application, in that case also you can see the difference in the output.有时会根据应用程序中维护的组来获取数据,在这种情况下,您也可以看到 output 的差异。

Check in your code whether you are maintaining any groups.检查您的代码是否维护任何组。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 java rest API 调用 rest API - Call rest API from java rest API rest api - 如何在rest api调用中发送邮递员的身体参数 - rest api - how to send body parameters of postman in rest api call 如何将Java REST调用“转换”为Postman REST调用 - How to 'convert' a Java REST call to a Postman REST call 并发请求中的剩余api数据不匹配 - rest api data mismatch in concurrent request Rest API java spring - 将文本和 pdf 上传到 PostgreSQL 数据库(邮递员 - 表单数据) - Rest API java spring - Upload text and pdf to PostgreSQL database (postman - form data) 在 Postman 的请求正文中传递多个 JSON 数据并使用 Jersy(JXRS) 进入 Java Rest API - Pass multiple JSON data in Request Body of Postman and Get into Java Rest API using Jersy(JXRS) Rest API 可以从 Postman 调用,显示来自 ZD52387880E1EA22831817A27 的 400 个错误请求 - Rest API can be called from Postman, shows 400 bad request from Java Elasticsearch Java API MoreLike与“ _search”其余端点相比,此文档不返回文档 - Elasticsearch Java API MoreLikeThis not returning documents compared to “_search” rest endpoint 如何通过邮递员调用REST API在Azure中创建索引? - How to call REST API through postman to create index in Azure? 如何使用邮递员调用REST API进行Azure文件存储? - How to call REST API for azure file storage using postman?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM