使用postman调用新浪微博API发送微博
2023-09-14 09:03:57 时间
{
"info": {
"_postman_id": "76e666b8-44fb-4235-9092-d52ea10a4fc1",
"name": "weibo",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "send weibo with cookie",
"request": {
"method": "POST",
"header": [
{
"key": "cookie",
"value": "SINAGLOBAL=5579034373557.994.1562079120560; _ga=GA1.2.1393063711.1562079123; SUBP=0033WrSXqPxfM725Ws9jqgMF55529P9D9Whg5hMl9yySrHL1Ng7r6YbJ5JpX5KMhUgL.Fo2ReK50SKn01hz2dJLoI7fZ9PiEwHUydJUk-X8B; wvr=6; UOR=,,login.sina.com.cn; YF-V5-G0=4358a4493c1ebf8ed493ef9c46f04cae; ALF=1596003017; SSOLoginState=1564467019; SCF=Agh3IdzwAImVvmsCkTRSc6M2mO92btj32Nm3H4FDA4k4HBQj7S-vOTLOGwSMVj74KZiENRVZAMOzKpRru-zWBlY.; SUB=_2A25wO68cDeRhGedG6lIS9SbPwz6IHXVTMIfUrDV8PUNbmtBeLRijkW9NUWGUrJBL81Ww6B6x-facuq5WDXVdphpK; SUHB=0oUZx2aRUbi3iF; _gid=GA1.2.628016016.1564467027; _s_tentry=login.sina.com.cn; Apache=3698697283137.0713.1564467050225; YF-Page-G0=112e41ab9e0875e1b6850404cae8fa0e|1564467049|1564467049; wb_view_log_1810358382=1280*8001.875; ULV=1564467050958:14:14:2:3698697283137.0713.1564467050225:1564321790282; wb_timefeed_1810358382=1; webim_unReadCount=%7B%22time%22%3A1564467121397%2C%22dm_pub_total%22%3A0%2C%22chat_group_client%22%3A0%2C%22allcountNum%22%3A0%2C%22msgbox%22%3A0%7D",
"type": "text"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/x-www-form-urlencoded",
"type": "text"
},
{
"key": "accept-language",
"value": "en,zh;q=0.9,en-US;q=0.8,zh-CN;q=0.7",
"type": "text"
},
{
"key": "origin",
"value": "https://www.weibo.com",
"type": "text"
},
{
"key": "referer",
"value": "https://www.weibo.com/abap/home?wvr=5",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "location",
"value": "v6_content_home",
"type": "text"
},
{
"key": "text",
"value": "1113333",
"type": "text"
},
{
"key": "style_type",
"value": "1",
"type": "text"
},
{
"key": "isReEdit",
"value": "false",
"type": "text"
},
{
"key": "module",
"value": "stissue",
"type": "text"
},
{
"key": "pub_source",
"value": "main_",
"type": "text"
},
{
"key": "pub_type",
"value": "dialog",
"type": "text"
},
{
"key": "isPri",
"value": "0",
"type": "text"
},
{
"key": "_t",
"value": "0",
"type": "text"
}
]
},
"url": {
"raw": "https://www.weibo.com/aj/mblog/add?ajwvr=6&__rnd=1564468131832",
"protocol": "https",
"host": [
"www",
"weibo",
"com"
],
"path": [
"aj",
"mblog",
"add"
],
"query": [
{
"key": "ajwvr",
"value": "6"
},
{
"key": "__rnd",
"value": "1564468131832"
}
]
}
},
"response": []
}
]
}
```要获取更多Jerry的原创文章,请关注公众号"汪子熙":
<img src="https://user-images.githubusercontent.com/5669954/61616089-2a87e180-ac9a-11e9-861d-c29c2cf897af.png">
相关文章
- postman发送get请求
- 接口测试-Postman VS SoapUI
- postman 基本应用
- SAP Cloud for Customer使用postman更新user profile的web service
- 使用postman的pre-request script实现自动填充请求头部的功能
- 如何用postman发送新浪微博
- postman-enterprise-API
- Postman连接数据库
- Postman接口测试工具进阶篇-如何巧设断言
- 使用postman作为rest api自动化测试工具
- 从0开始学Postman《介绍与安装、工具简介、常见疑问》
- 干掉 Postman?测试接口直接生成API文档,这个工具贼好用
- Postman使用简介
- Postman如何使用(二):Postman Collection的创建/使用/导出分享等