Hi All , am using HTTP request activity for API automation it’s working fine for GET method. now am unable to use the post method as json body input is giving error. it’s working fine postman tool. i tried giving that body in a string by assign activity even then also its not accepting the format.
my josn body::
{
“short_description”: “Unable To connect To office wifi”,
“description”: “Test”,
“assignment_group”: “CAB Approval”
}
Thank you @HareeshMR now its taking in string format working fine.
one more thing these key values are always dynamic. i tried giving them in variable but no luck. can you please check.
Before giving it as a input to the post request, use assign activity to build the entire string, then give it as a variable to the request. So that the string built with the dynamic content.
@HareeshMRam am doing the same, using the assign activity to insert the body and passing the string . but while inserting the variable of fields like short description which are dynamic am getting this error String comments must end with double quotes