Append both services the Services
array.
$ nvim ~/.sharenix.json
Upload service:
{
"Name": "owo",
"RequestType": "POST",
"RequestURL": "https://api.awau.moe/upload/pomf?key=YOUR_API_KEY_GOES_HERE",
"FileFormName": "files[]",
"ResponseType": "Text",
"URL": "https://owo.whats-th.is/$json:files[0].url$"
}
RequestURL: https://api.awau.moe/upload/pomf?key=YOUR_API_KEY_GOES_HERE
URL: https://owo.whats-th.is Keep in mind, "Result URL" may be any URL from this page.
Shortening service:
{
"Name": "owo (shorten)",
"RequestType": "GET",
"RequestURL": "https://api.awau.moe/shorten/polr",
"Arguments": {
"action": "shorten",
"apikey": "YOUR_API_KEY_GOES_HERE",
"url": "$input$"
},
"ResponseType": "Text"
}