I’m making an API & wondering whether to design a factory endpoint to take a JSON payload representing the attributes of the resource to be created, or regular application/x-www-form-urlencoded parameters in the request body, or whether it does not matter at all from a REST standpoint.
Share
It’s equally RESTful in either case. You’re just using different formats (representations). No format is intrinsically more RESTful than the other.