Skip to content

PostgREST Output in XML #3163

Answered by laurenceisla
mchatrvd asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!
application/xml is not a builtin Media Type in PostgREST, so it won't return the data in xml format by default. You'll need to define it yourself by using Media Type Handlers and GET the data with the Accept: application/xml header (there's an example in that page of the docs).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
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