Open evanugarte opened 1 week ago
the endpoint is here
https://github.com/SCE-Development/Clark/blob/7caadc0adbfd83cb9ec866f9113ef41a19a30afb/api/peripheral_api/routes/Cleezy.js#L23
where we call it from the frontend is here
https://github.com/SCE-Development/Clark/blob/7caadc0adbfd83cb9ec866f9113ef41a19a30afb/src/APIFunctions/Cleezy.js#L7
at the moment we are sending the token as part of the URL query parameters body, when instead we should send the token as part of the HTTP header.
test/api
the endpoint is here
https://github.com/SCE-Development/Clark/blob/7caadc0adbfd83cb9ec866f9113ef41a19a30afb/api/peripheral_api/routes/Cleezy.js#L23
where we call it from the frontend is here
https://github.com/SCE-Development/Clark/blob/7caadc0adbfd83cb9ec866f9113ef41a19a30afb/src/APIFunctions/Cleezy.js#L7
at the moment we are sending the token as part of the URL query parameters body, when instead we should send the token as part of the HTTP header.
game plan
test/api
directory for this endpoint