TITLE: Test DOB-Decoder JsonRpc Server with Curl DESCRIPTION: Example `curl` command to send a `dob_decode` JsonRpc request to the running server. This demonstrates how to interact with the server's API, passing a Spore ID as a parameter. Remember to replace the placeholder with an actual Spore ID. SOURCE: https://github.com/sporeprotocol/dob-decoder-standalone-server/blob/master/README.md#_snippet_1 LANGUAGE: bash CODE: ``` echo '{ "id": 2, "jsonrpc": "2.0", "method": "dob_decode", "params": [ "" ] }' \ | curl -H 'content-type: application/json' -d @- \ http://localhost:8090 ``` ---------------------------------------- TITLE: Launch DOB-Decoder JsonRpc Server DESCRIPTION: Command to run the DOB-Decoder JsonRpc server. This command enables debug logging for the `dob_decoder_server` module, requiring the project to be built with the `standalone_server` feature enabled. SOURCE: https://github.com/sporeprotocol/dob-decoder-standalone-server/blob/master/README.md#_snippet_0 LANGUAGE: bash CODE: ``` $ RUST_LOG=dob_decoder_server=debug cargo run ```