1 Star 0 Fork 33

一名程序爱好者/spring-cloud-gateway-dubbo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gateway.http 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
liqiu 提交于 2021-07-27 17:10 . 修复query变量错误
POST http://localhost:8085/request
Content-Type: application/json
cookie: JSESSIONID=1AA4D275F436A3DB4723A572B943947F
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
{
"request": {
"message": "request",
"target": {
"name": "provider",
"id": "provider"
},
"date": "2021-07-01 00:00:00",
"attributes": [
"attr1",
"attr2",
"attr3"
]
},
"action": {
"name": "request",
"parameters": {
"param1": "param1"
}
}
}
###
POST http://localhost:8085/rewrite?name=rewirte
Content-Type: application/json
cookie: JSESSIONID=1AA4D275F436A3DB4723A572B943947F
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
{
"request": {
"message": "request",
"target": {
"name": "provider",
"id": "provider"
},
"date": "2021-07-01 00:00:00",
"attributes": [
"attr1",
"attr2",
"attr3"
]
},
"action": {
"name": "request",
"parameters": {
"param1": "param1"
}
}
}
###
POST http://localhost:8085/echo
Content-Type: application/json
[
"foo"
]
###
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/plusforce/spring-cloud-gateway-dubbo.git
git@gitee.com:plusforce/spring-cloud-gateway-dubbo.git
plusforce
spring-cloud-gateway-dubbo
spring-cloud-gateway-dubbo
master

搜索帮助