Datastar Error
FetchInvalidContentType
An invalid content type was provided. The content type must be either json (the default) or form.
Example:
1<button data-on:click="@post('/endpoint', {contentType: 'form'})"></button>See the docs for the @get() action.