Skip to content

Instantly share code, notes, and snippets.

@lukaspili
Created Sep 5, 2019
Embed
What would you like to do?
curl --request POST \
--url https://api.imagekit.io/v1/files/upload \
--header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
--form fileName=user-21.jpg \
--form publicKey=sZ/a9Az1UFoCCZs4xJvJrcsTGLs= \
--form signature=f5a779108454d224cb9ab4fe1ebb52f44fb19b70 \
--form token=d502bf6a-1aac-4bd4-8241-845db283f05a \
--form expire=1567694190 \
--form useUniqueFilename=true \
--form isPrivateFile=true \
--form folder=/development/user-profile-pictures/ \
--form file=foobar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment