Last active
January 20, 2021 11:09
-
-
Save wk-j/c4bee772946da51e367df49d245de59f to your computer and use it in GitHub Desktop.
VS Code Rest Client - multipart/form-data example
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
POST http://192.168.0.19:8080/xyz/service/api/uploadFile?alf_ticket=TICKET_04bb4fc44be78e3082a675e6d9f9d278ecd195eb | |
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW | |
------WebKitFormBoundary7MA4YWxkTrZu0gW | |
Content-Disposition: form-data; name="Field1" | |
Field1-Value | |
------WebKitFormBoundary7MA4YWxkTrZu0gW | |
Content-Disposition: form-data; name="Field2" | |
Field2-Value | |
------WebKitFormBoundary7MA4YWxkTrZu0gW | |
Content-Disposition: form-data; name="Field3" | |
Field3-Value | |
------WebKitFormBoundary7MA4YWxkTrZu0gW | |
Content-Disposition: form-data; name="File1"; filename="README.md" | |
Content-Type: text/plain | |
< ./xyz/README.md | |
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment