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
Note the point of this API would be to give TypeScript access to the actual bytes of the file. The bytes start being downloaded when the endpoint method is run.
In many cases, you instead want to create a link that the user can click to start a "regular" download. This requires a different mechanism since that link would trigger a GET request which also means that e.g. access control would have to handled without relying on custom request headers.
Add support for returning a Spring
Resource
result from Hilla endpoints. The files should be downloaded using an appropriate HTTP MIME type.Example endpoint:
TypeScript usage:
The text was updated successfully, but these errors were encountered: