docs: update wg-basic/remote-rest
This commit is contained in:
parent
4d8da18b7f
commit
5dff40805c
@ -2,7 +2,7 @@
|
|||||||
title: 8.REST远程调用工具
|
title: 8.REST远程调用工具
|
||||||
description: REST远程调用工具
|
description: REST远程调用工具
|
||||||
published: true
|
published: true
|
||||||
date: 2021-09-20T09:25:35.909Z
|
date: 2021-09-21T11:58:41.394Z
|
||||||
tags: wg-basic, remote
|
tags: wg-basic, remote
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2021-09-20T08:24:01.498Z
|
dateCreated: 2021-09-20T08:24:01.498Z
|
||||||
@ -43,6 +43,7 @@ dateCreated: 2021-09-20T08:24:01.498Z
|
|||||||
|@RemotePathParams|path参数|参数|路径中的参数值,数量应与路径中变量一致,不能有重复值,请求时会自动替换| `@RemotePathParams("p1") String p1` |
|
|@RemotePathParams|path参数|参数|路径中的参数值,数量应与路径中变量一致,不能有重复值,请求时会自动替换| `@RemotePathParams("p1") String p1` |
|
||||||
|@RemoteQueryParams|请求参数|参数|请求时的参数,可以有多个,重复以最后一个为准| `@RemotePathParams("q1") String q1` |
|
|@RemoteQueryParams|请求参数|参数|请求时的参数,可以有多个,重复以最后一个为准| `@RemotePathParams("q1") String q1` |
|
||||||
|@RemoteServerParams|服务地址|参数|该参数 **必填**,需以http或https开头| `@RemoteServerParams String server` |
|
|@RemoteServerParams|服务地址|参数|该参数 **必填**,需以http或https开头| `@RemoteServerParams String server` |
|
||||||
|
|@RemoteFormParams|表单参数|参数|POST提交表单,可以有多个,与 **@RemoteJsonBodyParams** 不能一起使用| `@RemoteServerParams String server` |
|
||||||
|@RemoteJsonBodyParams|Json对象|参数|该参数在POST或PUT请求时必填,类型为Object| `@RemoteJsonBodyParams User user` |
|
|@RemoteJsonBodyParams|Json对象|参数|该参数在POST或PUT请求时必填,类型为Object| `@RemoteJsonBodyParams User user` |
|
||||||
|
|
||||||
# 示例
|
# 示例
|
||||||
|
Loading…
Reference in New Issue
Block a user