
how can I get the status if the request are being made from nextjs to appwrite, something like request interceptor

Do you mean from server side? Why?

To check if requests being made, i do spinner component

Uhh...typically, what you do is have a Boolean to show or hide the spinner. Before making the API call, set the Boolean to true. After the API call, set the Boolean to false 🧐

😂😂😂 right going to have boolean to check loading status. But intercepted requests. I only check once , then showing spinner . No need to do for all components

But wouldn't you show the loading spinner specifically at a certain spot related to the data being fetched? 🧐

Right but once globally

Hmm ...well the SDK doesn't have any interceptor....but maybe you can make one by subclassing the client

will try to check it out.
Recommended threads
- appwrite cli alpine os
the appwrite cli does not work on alpine os if you install it using the recommended bash script. Maybe there is the possibility to compile it for alpine using t...
- Invalid document structure: Unknown attr...
I have an attribute, who I deleted but it still gives error saying that Invalid document structure: Unknown attribute: "financialAidAvailable". Because of which...
- Account reset to 'Free' status
I have issues with my account basically being reset to the default 'Free' status. We're still being billed but no billiung info in system and no projects etc. N...
