btsken commented on a change in pull request #5376: [Issue 3009][docs] Add 
presto sql REST APIs doc
URL: https://github.com/apache/pulsar/pull/5376#discussion_r384870178
 
 

 ##########
 File path: site2/docs/sql-rest-api.md
 ##########
 @@ -0,0 +1,196 @@
+---
+id: sql-rest-api
+title: Pulsar SQL REST APIs
+sidebar_label: REST APIs
+---
+
+## Overview
+
+This describes the resources that make up the Presto REST API v1. If you have 
any problems or request, please create a Github issue to contact us.
+
+## Current version
+
+All requests should use the v1 version of REST API to request the presto 
service. You need to use explicitly URL `http://presto.service:8081/v1` to 
request service.
+
+Also, the header `X-Presto-User` is required when you send a `POST` request.
 
 Review comment:
   Is the username in `X-Presto-User` the same as pulsar role?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to