My requirement is to do a GET on the APIs provided by Elastic Search by passing search parameters in the body as JSON. From postman, am able to successfully query Elastic Search API (Attached a picture). I want to consume same API from webMethods by passing the query body (NOT as query params). So, I am using ‘pub.client:http’, but am unable to figure out how to pass the query in body. Can some one help me on
- Is ‘pub.client:http’ right service to consume an outside API thru GET by passing query in body
- If it is correct service, how to pass query in body?
- If it is not correct service, which is one correct service provided by SAG.