Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.02 KB

messagehub025.md

File metadata and controls

31 lines (22 loc) · 1.02 KB
copyright lastupdated
years
2015, 2017
2016-11-22

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}

Using the Kafka REST API

{: #rest_using}

The Kafka REST API provides a RESTful interface to a Kafka cluster. You can easily produce and consume messages and complete administration tasks by using the API. For reference documents, see Confluent Platform docs External link icon{:new_window}.

If you are using CURL, you can adapt the code examples detailed in the Confluent docs External link icon{:new_window} by adding the following line to the command line:

-H "X-Auth-Token: APIKEY"

{: codeblock}