I\'m trying to invoke a rest call using rest assured. My API accepts, \"application/json\" as content type and I need to set in the call. I set the content type
\"application/json\"
Give a try given().contentType(ContentType.JSON).body(inputPayLoad.toString)