Page History
...
Name | Type | Description |
id required | string | specified user/contact id |
data optional | object | metadata for request-files page |
cb optional | function | callback function |
Example
Code Block | ||
---|---|---|
| ||
this.sendRequest = function (id, data, cb) { return _request({ method : 'POST', url : '/contact/send_request/'+id, data: data, callback : cb }); }; |
Example Result
Code Block | ||
---|---|---|
| ||
{ message: "some message" } |