title: Postman: ordering of fields in form-data request
body: <p>I have <a href="https://www.npmjs.com/package/apollo-upload-server" rel="nofollow noreferrer">a server set up</a> to which I can successfully send the following request:</p>
  
  <pre><code>curl localhost:8081/graphql   \
      -F operations='{ "query": "mutation ($file: Upload!) { uploadFile(file: $file) { id } }", "variables": { "file": null } }'
      -F map='{ "0": ["variables.file"] }'
      -F 0=@a.txt
  </code></pre>
  
  <p>However, if I paste that into Postman, or try to build the request manually, I get an error on the server-side stating</p>
  
  <blockquote>
    <p>Custom error:  Misordered multipart fields; files should follow “map” (<a href="https://github.com/jaydenseric/graphql-multipart-request-spec" rel="nofollow noreferrer">https://github.com/jaydenseric/graphql-multipart-request-spec</a>).</p>
  </blockquote>
  
  <p>But in Postman, I have defined the fields in that order:</p>
  
  <p><a href="https://i.stack.imgur.com/NOMwo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NOMwo.png" alt="postman field ordering"></a></p>
  
  <p>Does Postman do anything on its own to re-order the fields? Is there anything I can do to control the order?</p>
  
  <p>Update: Filed a bug with Postman here: <a href="https://github.com/postmanlabs/postman-app-support/issues/4461" rel="nofollow noreferrer">https://github.com/postmanlabs/postman-app-support/issues/4461</a></p>