Skip to content

Is there a way to convert default payload format to json in a transparent way? #2325

Answered by nickchomey
sombriks asked this question in Q&A
Discussion options

You must be logged in to vote

No, I don't think this makes any sense at all. Htmx works with hypermedia, not json. Also, rest APIs that work with json aren't actually rest APIs - they're json APIs.

If you don't want to work with hypermedia, just use the "good amount of tools" that expect json rather than htmx...

Check out https://htmx.org/essays to learn more about all of this

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sombriks
Comment options

@nickchomey
Comment options

Answer selected by sombriks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants