POST /users/{username}/requests
Creates an user request of desired type.
Resource Information
Resource URL | |
---|---|
HTTP Method | POST |
Parameters
Parameters | Detail |
---|---|
username | Username of the user the request is created for. |
request_type | Specifies the type of the request. Available types are:
|
Returns
request_id and request_code of the created request.
Example: 1544;RDQX1Qx9UokSf4n3KAVWgNClvrFUqncSZg7fK3gnVAfNIAOylN
Sample Request / Response
Using curl
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/username1/requests
Response in format oauth_token;oauth_token_secret:
1544;RDQX1Qx9UokSf4n3KAVWgNClvrFUqncSZg7fK3gnVAfNIAOylN