Two more functions for full-blooded JSON component #315
stefanov-sm
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
One more thing is missing, how to set the HTTP response status code. Probably an extra optional top-level parameter of the JSON component - |
Beta Was this translation helpful? Give feedback.
0 replies
-
Both additions would be very welcome! Do you want to try your hand at a small pull request? The function system has been reworked in 0.20.5 so adding new functions should be easier than ever now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation
Build REST services that support
GET, POST, PUT, DELETE, ...
request methods and arbitrary length raw JSON inputSuggestion - add two more functions
sqlpage.request_method()
function that returns the request method as text. This would allow for code likesqlpage.request_body()
function that returns the request body payload as raw text. This would allow for code like (PostgreSQL)Expected result
A fully functional REST services development toolset based on the JSON component.
Beta Was this translation helpful? Give feedback.
All reactions