massa icon indicating copy to clipboard operation
massa copied to clipboard

Support HTTP GET queries proxying

Open aoudiamoncef opened this issue 2 years ago • 3 comments

It could be interesting to add GET request proxing to RPC methods. This feature could simplify frontend queries and allow URIs sharing.

GET /addresses/{address_id} or ?ids=[address_id, address_id] => will be binded to get_addresses method

JSONRPSEE HTTP PROXY

related to #2799

aoudiamoncef avatar Jan 05 '23 15:01 aoudiamoncef

i'll check that

modship avatar Jan 11 '23 10:01 modship

Draft PR is here ~~#3411~~ #3435

modship avatar Jan 12 '23 17:01 modship

We could add support for:

  • addresses
  • blocks
  • endorsements
  • operations

aoudiamoncef avatar Jan 12 '23 17:01 aoudiamoncef

We'll switch to gRPC which supports this out of the box

aoudiamoncef avatar Feb 21 '23 13:02 aoudiamoncef