I keep getting a 403 error in Chrome. The request works in postman.
Here is my call:
getSpaces = async () => { const response = await axios({ method: 'get', url: 'https://myurl.atlassian.net/wiki/rest/api/search?cql=space', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'Authorization': 'Basic myTokenHere'} }) console.log(response) }