/decode
This endpoint will require a POST request.
Endpoint Headers:
apikey - Your Api Auth Key [String] (Required)
Endpoint Body Parameters
text - Text to decode [String OR Array of Strings] (Required)
Examples:
Data API version required. Must replace <version> with either release or beta.
Bot Designer for Discord
Example usage of /decode endpoint using BDFD
$httpAddHeader[apikey;<YOUR-API-KEY>]
$httpPost[https://bdfddata.rickyjs.xyz/<version>/decode;{
text: 'l%0a7o7I%ll%0a22o22U%ll%0a8o8U%ll%0a7o7I%l'
}]
$httpResult OR $httpResult[details]Discord.js
Example usage of /decode endpoint using Discord.js
const axios = require('axios');
(async () => {
return await axios.post('https://bdfddata.rickyjs.xyz/<version>/decode',
{ text: 'l%0a7o7I%ll%0a22o22U%ll%0a8o8U%ll%0a7o7I%l'
}, {
headers: {
'apikey': <YOUR-API-KEY>,
}
}).then(res=>res.data)
})()Possible Responses (Codes)
Last updated