Hi, All:
I am facing a project which defined delete api with required body.
And I try to write script to run the test. However the katalon didn’t send the body to server. Do I have to using groovy or java to write the delete http request?
have the same problem, katalon does not send body in delete request .
i use java in script mode to build request.
DeleteRequest.setHttpBody(“body text”);
String URI = URI + “/accounts/delete”
String time = ZonedDateTime.now(ZoneOffset.UTC ).format( DateTimeFormatter.ISO_INSTANT )
RequestObject api = new RequestObject(“deleteAccount”)
api.setRestRequestMethod(“DELETE”)
api.setRestUrl(URI)
have the same problem, katalon does not send body in delete request .
i use java in script mode to build request.
DeleteRequest.setHttpBody(“body text”);
I am also facing the same issue. Could you please share how did you resolve it.
Hi, All:
I am facing a project which defined delete api with required body.
And I try to write script to run the test. However the katalon didn’t send the body to server. Do I have to using groovy or java to write the delete http request?
Or there is another way to do this?
Thanks
Did you solve this issue? I have the same one. Please let me know how to resolve it.
String URI = URI + “/accounts/delete”
String time = ZonedDateTime.now(ZoneOffset.UTC ).format( DateTimeFormatter.ISO_INSTANT )
RequestObject api = new RequestObject(“deleteAccount”)
api.setRestRequestMethod(“DELETE”)
api.setRestUrl(URI)