Last updated
This endpoint will require a POST request.
apikey - Your Api Auth Key [String] (Required)
code - code to repeat [String] (Required)
times - amount of times to repeat [Integer] (Required)
Data API version required. Must replace <version> with either release or beta.
Example usage of /repeat endpoint using BDFD
$httpAddHeader[apikey;<YOUR-API-KEY>]
$httpPost[https://bdfddata.rickyjs.xyz/<version>/repeat;{
code: 'test',
times: 10
}]
$httpResult OR $httpResult[details]Example usage of /repeat endpoint using Discord.js
const axios = require('axios');
(async () => {
return await axios.post('https://bdfddata.rickyjs.xyz/<version>/repeat',
{ code: 'test',
times: 10
}, {
headers: {
'apikey': <YOUR-API-KEY>,
}
}).then(res=>res.data)
})()Last updated
{
status: 200,
details: 'testtesttesttesttesttesttesttesttesttest'
}}{
status: 400
error: 'Cannot read ... (This can vary)'
}