JavaScript
const options = {method: 'GET'}; fetch('https://api.valox.co/api/v1/auth/nonce', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
"a1b2c3d4e5f6"
Nonce generated successfully
The response is of type string.
string