Skip to content

Tag: rest-assured

How to set boundary in RestAssured

I’m trying to create multipart POST call using RestAssured, but I don’t know how to get any boundary there. I tried this code, but it doesn’t work. given().contentType(“multipart/form-data”) …