Should I avoid multipart/form requests?
I am creating a RESTful web service and I have created a controller that
accepts multipart/form requests.
So I have a POST path like /cars which allows upload of a car resource
with an image. Would it be better to separate these two into POST /cars
with only the data and then another one like /cars/1/images? Then I want
have a multipart/request?
No comments:
Post a Comment