Skip to content

Can I perform an HTTP GET on /rpc/method(jsonb)? #3874

Discussion options

You must be logged in to vote

I do have query parameters, but I could have a variable number of them.

Do you still know them in advance, just not which of them are part of any given request, or could they be arbitrary?

If you do know them in advance, but they are essentially optional for each request: Create your RPC with all named arguments, but make them DEFAULT xxx. When they have a default, they can be omitted.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by TreyBoudreau
@TreyBoudreau
Comment options

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