Skip to content

Change some commands from GET to POST

Description

Some calls that actually change the state of the server should be changed from GET to POST:

  • listen
  • boostrap
  • get-block-from (as it writes data, thus changing the state of the app)
  • get-file (also writes data)

Note

The doc should be changed accordingly. Same as for the other cmd that use POST, the body should be sent with a JSON format.