POST api/file/cropfile
Request Information
URI Parameters
None.
Body Parameters
CropModel| Name | Description | Type | Additional information |
|---|---|---|---|
| url | string |
None. |
|
| cropTop | integer |
None. |
|
| cropLeft | integer |
None. |
|
| cropWidth | integer |
None. |
|
| cropHeight | integer |
None. |
|
| ren | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"url": "sample string 1",
"cropTop": 2,
"cropLeft": 3,
"cropWidth": 4,
"cropHeight": 5,
"ren": true
}
application/html
Sample:
{"url":"sample string 1","cropTop":2,"cropLeft":3,"cropWidth":4,"cropHeight":5,"ren":true}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |