使用 URL 参数作为输入
如果客户端不支持 HTTP POST 方法,可以使用 URL 参数@x-http-method 调用操作。然后可以将操作的输入指定为附加 URL 参数。例如:
http://MyServer:MyPort/connector/MyAPIPortName/api.rsc/WashCar?@x-http-method=POST&URLparam1=my_url_parameter1&urlparam2=my_url_param2使用 API 端口上的自定义操作扩展 API 操作。
@x-http-method 调用操作。然后可以将操作的输入指定为附加 URL 参数。例如:
http://MyServer:MyPort/connector/MyAPIPortName/api.rsc/WashCar?@x-http-method=POST&URLparam1=my_url_parameter1&urlparam2=my_url_param2