Untitled

mail@pastecode.io avatar
unknown
javascript
2 years ago
402 B
8
Indexable
Never
const options = { method: 'GET', headers: {Accept: 'application/json'}};

fetch('https://www.workable.com/api/accounts/arne?details=true', {
  mode: 'no-cors',
  headers: {
    Accept: 'application/json'
  }
})
  .then(response => {
    console.log('response => ', response)

    return response.json()
  })
  .then(data => {
    console.log('data => ', data);
  })
  .catch(err => console.error(err));