This is a random string api. Just send a GET
-Request to https://osob.de/r
to get a random string with 64 characters. By adding a number to
r
, you can specify the length of the string. For example, https://osob.de/r/32
will return a string with 32 characters. The maximum length is 99999 characters.
You can choose between the content types json
, xml
and plain
. Just add the file extension to the url. For example, https://osob.de/r/32.json
will return a json response with the random string.
https://osob.de/11r.json
{"random_string": "oAjDnjNbpJo"}
https://osob.de/r14.xml
<randomString>ExUehmFAYGdeqh</randomString>
https://osob.de/r4
fIqV
You can also use the api with javascript. Just use the fetch
function to get the random string.
fetch('https://osob.de/r.json')
.then(response => response.json())
.then(data => console.log(data.random_string))