Consuming Rest API on Consul project

Hi all,

is there a way to consume REST API on Consul project?

Best regards,

Celso Agra

Any news on the REST API access?

Hi @celsoagra, @ElectMe, sorry for the late response :pray:

I know Consul has available a readonly GraphQL API but there is not REST API to consume at this time. There is an already closed issue related to Consul APIs implementations [1]. Inside this issue is referenced a PR [2] that implements an example of REST API implementation, maybe you can use this PR as example if you really need to have a REST API, surely you will need to update a little bit the code to work with latest Consul version because that PR is from 2016.


Best regards