Hi all! I’m having some trouble with the File Mana...
# prisma-whats-new
f
Hi all! I’m having some trouble with the File Management API. Just trying things out in Postman and I’m getting a 500 error. Will put details in thread
My raw HTTP request:
Copy code
POST /file/v1/---my-endpoint--- HTTP/1.1
Host: api.graph.cool
Cache-Control: no-cache
Postman-Token: ec878a62-8f9a-791e-a084-b2bd5140765d
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="data"; filename="example.png"
Content-Type: image/png


------WebKitFormBoundary7MA4YWxkTrZu0gW--
I get a 500. Trying this using
curl
from Terminal doesn’t get a response either
curl -X POST '<https://api.graph.cool/file/v1/---my-endpoint--->' -F "data=@example.png;filename=myname.png"