【发布时间】:2014-07-22 08:51:07
【问题描述】:
我们正在构建的 API 允许用户提供不同的请求主体。从我目前所见/发现的情况来看,每个动作/资源只能提供一个请求。是否可以指定不同的请求主体?
我试过了:
### Create new line item for an existing order [POST]
Some description
+ Request (application/json)
### Create new line item and order [POST]
Some other description
+ Request (application/json)
也喜欢:
### Create new line item for an existing order [POST]
Some description
+ Request (application/json)
+ Request (application/json)
【问题讨论】: