Closed gcomte closed 2 years ago
The REST endpoint reload does not expect any data. There's therefore no point in declaring it as a POST endpoint.
reload
POST
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.
Agreed.
The REST endpoint
reload
does not expect any data. There's therefore no point in declaring it as aPOST
endpoint.