morley
05/24/2017, 4:30 PMmorley
05/24/2017, 4:30 PM------WebKitFormBoundaryRmGguKpt4WyeHSee
Content-Disposition: form-data; name="data"; filename="headshot.png"
Content-Type: image/png
------WebKitFormBoundaryRmGguKpt4WyeHSee
Content-Disposition: form-data; name="cropWidth"
453
------WebKitFormBoundaryRmGguKpt4WyeHSee
Content-Disposition: form-data; name="cropHeight"
453
------WebKitFormBoundaryRmGguKpt4WyeHSee
Content-Disposition: form-data; name="cropX"
75.5
------WebKitFormBoundaryRmGguKpt4WyeHSee
Content-Disposition: form-data; name="cropY"
0
------WebKitFormBoundaryRmGguKpt4WyeHSee--nilan
05/24/2017, 4:43 PMfilename and Content-Type are accepted. We currently don't support passing in more parameters. If you need additional information for a file, I suggest creating a new type that stores those additional fields, let's say Image, and add a one-to-one relation between File and Image. Then you first upload the file, obtain its id in the response, and create a new Image node with the desired information that you can directly connect to the new file node.morley
05/24/2017, 4:49 PMnilan
05/24/2017, 4:49 PM