Created
September 12, 2022 15:37
-
-
Save wizlee/4ec4bd9c1028d553f49fe832fa26f2b4 to your computer and use it in GitHub Desktop.
Sample for uploading image into thumbor server using http request
This file contains 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
@host = http://localhost:8888 | |
POST {{host}}/image | |
Content-Type: multipart/form-data; boundary=----------------------------11df125d8b12 | |
----------------------------11df125d8b12 | |
Content-Length: 822 | |
----------------------------11df125d8b12 | |
< ./upload.http | |
----------------------------11df125d8b12-- | |
### | |
#---------------------- | |
# References: | |
# https://thumbor.readthedocs.io/en/latest/how_to_upload_images.html#upload-an-image-via-a-form | |
# https://stackoverflow.com/questions/61473990/how-to-post-an-image-with-form-data-in-rest-client-for-vscode | |
# https://marketplace.visualstudio.com/items?itemName=humao.rest-client | |
#---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment