You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume there's an API called /api/endpoints/ and it returns {"endpoints": ["endpoint1", "endpoint2", ...]}. If a user does not send a token or the token is invalid this will be empty. Handle the response accordingly and we'll make the API work. Note that this will not return a response inside {"data": } so it'll be a little different than the data endpoints.
Activity
aaronrudkin commentedon May 29, 2024
Assume there's an API called
/api/endpoints/and it returns{"endpoints": ["endpoint1", "endpoint2", ...]}. If a user does not send a token or the token is invalid this will be empty. Handle the response accordingly and we'll make the API work. Note that this will not return a response inside{"data": }so it'll be a little different than the data endpoints.