When running graphcool service locally, when I try...
# prisma-whats-new
g
When running graphcool service locally, when I try to do a POST request via curl to upload an image, it returns
HTTP method not allowed, supported methods: GET
. Here's the command:
curl -X POST '<http://localhost:60000/file/v1/SERVICE_ID>' -F "data=@images_7.jpg;filename=image.jpg"
. Has anyone else tried uploading files locally?
n
hey, the Framework version doesn't have a file API yet, we'll release more information around this soon 🙂
g
oh ok. eagerly waiting for it. thanks
j
Hey @nilan is there any info around this yet? Just encountered the same situation. Thanks! 🙂
g
@jamiehalvorson we created a FR for this: https://github.com/graphcool/framework/issues/1120. Not much info on the status though
👍 1