Open
Description
For client implementation simplicity, I'd like to use Qubit without having to use JSON-RPC. In other words:
#[handler(query)] fn hello_world()
would map toGET /rpc/hello_world
with query-string parameters, if any#[handler(mutation)] fn hello_world()
would map toPOST /rpc/hello_world
with a JSON body
... and, well, that's it I guess? A generated browser client could just use native fetch()
.
I suppose this wouldn't be too difficult to implement, but I wouldn't want to fork qubit, or work on something that would not be accepted to core.
Metadata
Metadata
Assignees
Labels
No labels