Created
September 5, 2019 14:00
-
-
Save lukaspili/3e8b3965c3c6fa2744e706b2010a5047 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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