Skip to content
Discussion options

You must be logged in to vote

Not sure if I understood your question, but PostGREST works server side and does not access anything from the web page. You'd need to send it in a request for PostgREST to be aware of it, e.g. in a header (and access it with settings) or as parameters in functions.

Or are you using PostgREST to return JS code from a table or function? If so then yes, it should be able to do that (just be sure to sanitize the way that code is added to the database if required).

Replies: 1 comment 2 replies

Comment options

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

@kxkv
Comment options

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