I trying to hit this api in post with java and restassured. But api has alot of queryParam with contentype- application/x-www-form-urlencoded, which cannot be send manual changing it.
Sample code is as follows-
RequestSpecification request=given();
Response responseSample = request
.queryParam("lastName","Sharma")
.queryParam("firstName","Sobhit")
.queryParam("street","523-E-BROADWAY")
.post(url);
I have multiple parameters for sample added 3. I want read it from hashmap object and send it.