fluidex / dingir-exchange

A high performance crypto trading engine
234 stars 62 forks source link

Make REST endpoint /reload a HTTP GET endpoint #374

Closed gcomte closed 2 years ago

gcomte commented 2 years ago

The REST endpoint reload does not expect any data. There's therefore no point in declaring it as a POST endpoint.

HAOYUatHZ commented 2 years ago

would prefer keep it the original way.

because GET method is used to request data from a specified resource. POST method is used to send data to a server to create/update a resource.

gcomte commented 2 years ago

Agreed.