doc: https://predbdotovh.github.io/pre-api/#endpoints
api: https://predb.ovh/api/v1/ws
axios.get('https://predb.ovh/api/v1/ws').then(function(response) {
console.log('success');
console.log(response);
}).catch(function(error) {
console.log('error');
console.log(error);
});
I get status code 400
. Is this the right way to do http request?
Comments
Post a Comment