You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prasadjshimpi
changed the title
API request should allow to send the attachment
API request should allow to send the attachment via Carina method
Mar 10, 2022
Currently you can do this via normal REST api below example shared for more details
API request should allow to send the attachment or it should allow multipart/form-data
https://stackoverflow.com/a/52980714
Sample Code :
given()
.contentType("multipart/form-data")
.multiPart("id", "123")
.multiPart("file", new File("./src/test/resources/test-file.txt"))
.post("api/endpoint")
.then()
The text was updated successfully, but these errors were encountered: