GET with query string and auth header
curl 'https://api.example.com/v1/lessons?limit=20&track=python' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.demo'const response = await fetch('https://api.example.com/v1/lessons?limit=20&track=python', { method: 'GET', headers: { 'Authorization': 'Bearer eyJhbGciOiJIUzI1NiJ9.demo' }});const data = await response.json();Query parameters in the URL stay in the URL — the converter does not re-split them into a separate params object for fetch. For axios and requests, you'll see them lifted into params / params= for readability.