| layout | post |
|---|---|
| title | webAPI reference for ejUploadbox |
| description | webAPI reference for ejUploadbox |
| documentation | ug |
| platform | js |
| keywords | uploadbox, ejUploadbox, syncfusion, uploadbox webapi |
[POST] /Api/UploadBox/Save
It is used for storing the uploaded file.
| Parameter | Description |
|---|---|
| FileName | Name of the files to be stored. |
Code: 204 No Content
Content-Type: multipart/form-data;
{% highlight js %}
{% endhighlight %}
In the above example we have used webAPI named as Save in order to save the uploaded file.
[POST] /Api/UploadBox/Remove
It is used for removing the stored files from server.
| Parameter | Description |
|---|---|
| FileName | Name of the files to be removed from the server. |
Code: 204 No Content
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
{% highlight js %}
{% endhighlight %}
In the above example we have used webAPI named as Remove in order to remove the saved file.