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
Sending API requests directly from the client would reduce the load on the server and enable static hosting under the constraint that users always need to bring their own API key and the API provider allows CORS requests. This might even enable hosting a public instance.
Scope
Requests to API providers allowing CORS requests are made directly from the client if an API key is provided, rather than passing through an interactive server.
Options
It might be possible to run an instance of the server in a web worker, along with some middleware that filters for requests containing an API key.
Related
/
The text was updated successfully, but these errors were encountered:
Fortinpa
added
the
feature
A pretty vague description of how a capability of our software can be added or improved.
label
Apr 6, 2025
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Sending API requests directly from the client would reduce the load on the server and enable static hosting under the constraint that users always need to bring their own API key and the API provider allows CORS requests. This might even enable hosting a public instance.
Scope
Requests to API providers allowing CORS requests are made directly from the client if an API key is provided, rather than passing through an interactive server.
Options
It might be possible to run an instance of the server in a web worker, along with some middleware that filters for requests containing an API key.
Related
/
The text was updated successfully, but these errors were encountered: