title: Can I PUT without an ID?
body: <p>I'm designing an API Rest service that allows the user to upload a file to the server.</p>
  
  <p>I'm thinking this is a PUT request and it would go to server/resource/ID and have the file as base64 in the json request body.</p>
  
  <p>My question is regarding this ID. In my head, I'm passing the file to the server and the server should be in charge of storing that file and generating a unique ID to retrieve it later, and then return this ID to the client with an ok status.</p>
  
  <p>So I'm thinking about doing that, sending it to server/resource, without the ID, but is this ok or is it bad design?</p>