Upload images

To Upload images, you must specify an endpoint to which the image has to be uploaded. The POST request sent is a FORMDATA with name file.

Input

The Input for the endpoint is a string can be provided directly or via config property

<app-ngx-editor imageEndPoint="http://myApiEndPoint"></app-ngx-editor>

Response

The Response is a json and it should be in the following format

{
    "url": "https://location-of-image"
}

results matching ""

    No results matching ""