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