RESTClient
RESTClient copied to clipboard
Will you provide use example or docs.
I'm trying to POST some data. But don't know how to send data or what should I add to body field.
Basically I'm asking. How to use?
It cannot be documented here because it doesn't depend on RESTClient but on the service you are "talking" to.
Most of services want your data to be formatted in XML or JSON according to a given schema. However, the required format could be really any format.
This format is surely described in the documentation of the service you are using (e.g. AWS, CouchDB, GoogleMaps, etc.).
I have same issue. I want to post the data to some service. content -type is "application/x-www-form-urlencoded". How to add the data to body if I want to make a post request for value pair.
是啊 整个文档或者demo吧, post数据 填不明白,后来我换成了 curl -d '{"key": "value}' url.
哭。。。