Invoke GraphQL API using webMethods pub.client:http service

You can try to use “pub.string:URLEncode” by passing the GraphQL query string before invoking the client http (GET method) service.

Or for POST, you can use JSON object and that should work.

Refer, the demo graphql, which works fine in wM via client http service

https://moonhighway.com/fetching-data-from-a-graphql-api