This URL Shortener has fully support with ShareX. To use it, just import the configuration to your ShareX. For that you need to open the `Destination settings` => `Other / Custom uploaders` => `Import` => `From Clipboard`.
This URL Shortener has fully support with ShareX. To use it, just import the configuration to your ShareX. For that you need to open the `Destination settings` => `Other / Custom uploaders` => `Import` => `From Clipboard` menu.
After you've done this, you need to set it as your standard URL Shortener. For that go back into your main menu => `Destinations` => `URL Shortener` => `Custom URL Shortener`.
After you've done this, you need to set it as your standard URL Shortener. For that go back into your main menu => `Destinations` => `URL Shortener` => `Custom URL Shortener`.
@ -68,27 +68,27 @@ After you've done this, you need to set it as your standard URL Shortener. For t
#### `/api/v1/create` POST
#### `/api/v1/create` POST
Create is the handler for creatng entries, you need to provide only an URL. The responsive will always be JSON encoded and contain an URL with the short link.
Create is the handler for creating entries, you need to provide only an URL. The response will always be JSON encoded and contain an URL with the short link.
There is a mechamism integrated, that you can call this endpoint with the following techniques:
There is a mechanism integrated, that you can call this endpoint with the following techniques:
- application/json
- application/json
- application/x-www-form-urlencoded
- application/x-www-form-urlencoded
- multipart/form-data
- multipart/form-data
In all cases only add the long URL as a field with the key `URL` and you will get the response with the short URL.
In all cases only add the long URL as a field with the key `URL` and you will get the response with the short URL.
### `/api/v1/info` POST
####`/api/v1/info` POST
This handler returns the information about an entry. This includes:
This handler returns the information about an entry. This includes:
- Created At
- Created At
- Last Visit
- Last Visit
- Visit count
- Visitor counter
To use this, POST a JSON with the field `id` to the endpoint. It will return a JSON with the data.
To use this, POST a JSON with the field `id` to the endpoint. It will return a JSON with the data.