https://postman-echo.com
我的路径: https://postman-echo.com/get?name=zhouagou
- [
- {
- "mac": "4C-77-66-19-50-65",
- "addressPattern": "98jd",
- "platform": "ios",
- "registrationId": "13332696824",
- "message": "发送ios推送消息",
- "occurrenceTime": 1640926650257
- },
-
- {
- "mac": "4C-77-66-19-50-65",
- "addressPattern": "98jd",
- "platform": "android",
- "registrationId": "13332696824",
- "message": "发送android推送消息",
- "occurrenceTime": 1640926650257
- }
- ]
详细说明:1.外层[]
2.里面每一个{},就是─个对象
3.{}里面的最后一个字段不能有逗号
4.{}外面,除了最后一个不用加逗号,前面的都要加上逗号5.接收时间类型要时间戳OccurrenceTime
参考
Java postman发送json数据_java模拟postman发送请求_weixin_43652507的博客-CSDN博客
--------------------------------------------------------------------------------------------------------------------