title: HTTP Status 201 Created: Return N URLs to the new resources?
body: <p>I have a simple server API:</p>
  
  <p>The client can upload a file. The server returns <code>201 Created</code> if it was successful. The http response has a <code>Location</code> header which points to the new created resource.</p>
  
  <p>Now we face a new use case: One http request should be able to create N new resources.</p>
  
  <p>I am unsure how to implement this according to the http spec.</p>
  
  <p>AFAIK there most be only exactly one <code>Location</code> header.</p>
  
  <p>How to return N URLs in a http <code>201 Created</code> response?</p>
  
  <p>My question is related, but not a duplicate of the following question, since the question there is clearly answered with "No". My question is different: How to ... </p>
  
  <p>My question is not "Is it allowed to return several Location header?".</p>
  
  <p><a href="https://stackoverflow.com/questions/11309444/can-the-location-header-be-used-for-multiple-resource-locations-in-a-201-created">Can the Location header be used for multiple resource locations in a 201 Created response?</a></p>