This is the base api service
curl --location --request GET 'https://sandbox.nucleusis.io/api/' \
--header 'Authorization: Bearer NUC-1BsOLIJwQyLrqkICdZIO-X'
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer NUC-1BsOLIJwQyLrqkICdZIO-X");
const requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://nucleusis-retail-api.herokuapp.com/api/", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));