Invoke GraphQL API using webMethods pub.client:http service

I am able to successfully invoke the graphql endpoint. I have passed the query in below format using pub.client:http post method and the required headers like “Authorization” and “Content-Type” as “application/json”.

{
“query” : “mutation {
data(_set:
{
flag: true,
updated_by: "wM"
}, where: {account: {_eq: "1234"}})
{
affected_rows
returning {
key
updatedDate
}
}
}”
}