1 2 3 4 5 6 7 8 9 10 11 12
{
"Version": "13.7.0",
"DestinationType": "TextUploader",
"RequestMethod": "POST",
"RequestURL": "https://paste.sr.ht/api/pastes",
"Headers": {
"Authorization": "token $oauth_token_here$"
},
"Body": "JSON",
"Data": "{\"visibility\":\"unlisted\",\"files\":[{\"filename\":null,\"contents\":\"$input$\"}]}",
"URL": "https://paste.sr.ht/$json:user.canonical_name$/$json:sha$"
}