I'm planning to make an API (as a web service) for validating user input.
The API gets 3 parameters from a user as input, checks all the parameters are valid, then returns the result (ex: true or false) to the user.
And here's a rough sketch for the API (I doubt this is RESTful):
URL: http://my.domain.com/validate/v1 (POST)
Required parameter: param1, param2, param3
Result: To response body (XML/JSON) or response header (HTTP status)
But after googling API design and REST I found that something's wrong with this API design.
According to Wikipedia, Requests and responses are built around the transfer of representations of resources. But the API I'm making has nothing to do with resources. It doesn't CRUD any resources. All the API does is just taking inputs, validating them, and returning the result. And I'm stuck on designing the API with this requirement.
Any advices/corrections to this question are welcomed.