How can i give Restful API as input in log stash cons file

I want to use Restfull API as input for logstsh.
Which plugin i can use to get data by using RESTFUL API.

Please provide logstash conf file.

See https://www.elastic.co/guide/en/logstash/5.1/plugins-inputs-http_poller.html