koinos / koinos-jsonrpc

The jsonrpc microservice translates and routes jsonrpc requests to other Koinos microservices.
MIT License
2 stars 3 forks source link

[BUG]: mime type application/json instead of text/plain #45

Closed tenonedesign closed 1 year ago

tenonedesign commented 2 years ago

Is there an existing issue for this?

Current behavior

I'm seeing a return type of text/plain

Example:

Expected behavior

application/json

Steps to reproduce

curl -v "http://localhost:8080" \ -H "Content-Type: application/json" \ -d '{ "id": 1, "jsonrpc": "2.0", "method": "block_store.get_highest_block", "params": {} }'

Environment

- OS:

Anything else?

No response

koinos-ci commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.