TODO
GET
/api/search
const url = 'http://localhost:5173/api/search';const options = { method: 'GET', headers: {cookie: 'authjs.session-token=<authjs.session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:5173/api/search \ --cookie authjs.session-token=<authjs.session-token>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”TODO

