A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Based on your question, I think there is a problem with throttling/rate limiting with the API. Many shared hosting options protect the hosted API's against too many requests to prevent a DDOS attack and server overload. If you perform only a few requests (after a wait period), the server will probably work correctly. Check the HTTP status code. If it is 429 then you have reached the rate limit set for GitHub Pages (https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#limits-on-use-of-github-pages). If you need more concurrent requests than the rate limit allows, I would suggest moving to Azure.