postman使用Cookies发送数据

{
	"info": {
		"_postman_id": "7bb91d0b-683d-49c6-aeb6-e75bb3d8a1b6",
		"name": "websocket测试",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "http://localhost:8080/chat/chat/login",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"value": "application/x-www-form-urlencoded",
						"type": "text"
					},
					{
						"key": "Cookie",
						"value": " JSESSIONID=61AE57E38511A28FC0687767FD64275F",
						"type": "text",
						"disabled": true
					}
				],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "nickname",
							"value": "aaa",
							"type": "text"
						}
					]
				},
				"url": "http://localhost:8080/chat/chat/login"
			},
			"response": []
		}
	],
	"protocolProfileBehavior": {}
}

发布了135 篇原创文章 · 获赞 16 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/nmjhehe/article/details/103280554