To save a URL from input, store it at the KV database and assign it a key, at the end, return that key.
Request
Body Params application/json
Request samples
curl --location --request POST '/api/s' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "string"
}'
Responses
application/json Modified at 2024-05-28 07:24:40