I have a server endpoint which validates some data and return true/false if the data validation has no errors.
So which Version would be correct or more suitable for a RESTful webservice?
POST https://server.de/validate
POST data in body and return HTTP status code 200 if validation had no errors or
GET https://server.de/validate?=data
Send data in header or query parameter and return true/false in the response (Status code 200 would be returned after a correct request, independent of the data validation).
validation
. – Gobliins