cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop polling of URL using HTTP Client in Data Hub ?

boudhayan-dev
Advisor
Advisor
0 Kudos
200

Hi,

I would like to stop the polling of a URL using HTTP Client Operator. Right now, if I want to make a GET request, it only works if I select Polling = True, otherwise GET option is not enabled. If Poling is disabled, only POST call is enabled.

Right now, I am using the following method to make achieve the desired effect. However, I would like to know, is there a better way/ does HTTP Client itself allows single GET call instead of Polling the URL ?

If you notice, the configuration for HTTP Client with Polling = False does not provide GET request -

Regards,

Boudhayan Dev

View Entire Topic
michael_eaton3
Active Contributor

To send individual requests, set polling to false and pass a message containing your request on the inRequest input port.

The request can be of any type, just set http.method appropriately.

Michael