fetch api cheat sheet get JSON fetch('/things/10', { credentials: 'same-origin', headers: { 'accept': 'application/json' }