Call addon route (GET)
GET
/addons/{slug}/{path}
const url = 'https://shoehorn.example.com/api/v1/addons/example/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://shoehorn.example.com/api/v1/addons/example/exampleProxies a GET request to the addon’s handleRoute() function.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” slug
required
string
path
required
string
Responses
Section titled “ Responses ”Addon response