This is an automated email from the ASF dual-hosted git repository.
bridgetb pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 439953e Add Postman instructions to Dev Info section
439953e is described below
commit 439953e1b65fcd2895136d58807937d9c014e59f
Author: Bridget Bevens <[email protected]>
AuthorDate: Wed May 30 15:38:47 2018 -0700
Add Postman instructions to Dev Info section
---
...n-is-enabled-and-authentication-is-disabled.md} | 0
...man-to-run-sql-queries-on-drill-data-sources.md | 41 +++++++++++++++++++++
_docs/img/postman-config-body.png | Bin 0 -> 32107 bytes
_docs/img/postman-config-headers.png | Bin 0 -> 36371 bytes
_docs/img/postman-config-http.png | Bin 0 -> 30969 bytes
_docs/img/postman-icon.png | Bin 0 -> 3376 bytes
_docs/img/postman-query-results.png | Bin 0 -> 65246 bytes
_docs/img/postman-query.png | Bin 0 -> 13654 bytes
8 files changed, 41 insertions(+)
diff --git
a/_docs/developer-information/rest-api/010-submitting-queries-from-the-rest-api-when-impersonation-is-enabled-and-authentication-is-disabled.md
b/_docs/developer-information/rest-api/011-submitting-queries-from-the-rest-api-when-impersonation-is-enabled-and-authentication-is-disabled.md
similarity index 100%
rename from
_docs/developer-information/rest-api/010-submitting-queries-from-the-rest-api-when-impersonation-is-enabled-and-authentication-is-disabled.md
rename to
_docs/developer-information/rest-api/011-submitting-queries-from-the-rest-api-when-impersonation-is-enabled-and-authentication-is-disabled.md
diff --git
a/_docs/developer-information/rest-api/012-use-postman-to-run-sql-queries-on-drill-data-sources.md
b/_docs/developer-information/rest-api/012-use-postman-to-run-sql-queries-on-drill-data-sources.md
new file mode 100644
index 0000000..218d2d8
--- /dev/null
+++
b/_docs/developer-information/rest-api/012-use-postman-to-run-sql-queries-on-drill-data-sources.md
@@ -0,0 +1,41 @@
+---
+title: "Use Postman to Run SQL Queries on Drill Data Sources"
+date: 2018-05-30 00:16:00 UTC
+parent: "REST API"
+---
+
+You can run Drill queries from Postman, a Chrome browser extension and HTTP
client for testing web services. To run Drill queries from Postman, install the
Postman extension and then configure Postman to connect to a Drillbit and run
queries.
+
+Complete the following steps to install and configure Postman to run Drill
queries:
+
+1-To install the Postman Chrome browser extension, go to
[https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en)
and then click **+ ADD TO CHROME**.
+2-Click  to open the
application. You can go to [chrome://apps/](chrome://apps/) to find the Postman
icon if you do not see it.
+3-In a new tab on the Builder page, set the type to **POST**, and enter the
request URL as `http://<drillbit-hostname>:8047/query.json`.
+
+
+
+4-Select the **Headers** tab. Enter **Content-Type** as the key and
**application/json** as the value. Add another entry with **User-Name** as the
key and **mapr** as the value.
+
+
+
+5-Select the **Body** tab and then select the radio button labeled **raw**. A
new drop-down list appears next to the radio buttons. Select **JSON** from the
drop-down list.
+
+
+
+6-In the body box, enter the request body in JSON format. For example, a
test.csv file resides under the /tmp folder in the `dfs.tmp` schema. To test
your configuration, you can enter the following query on the test.csv file:
+
+ {
+ "queryType": "SQL",
+ "query": "select * from `dfs.tmp`.`test.csv`"
+ }
+
+
+
+7-Click **Send** to submit the query. The Postman displays the query results.
+
+
+
+
+
+
+
diff --git a/_docs/img/postman-config-body.png
b/_docs/img/postman-config-body.png
new file mode 100644
index 0000000..b51512b
Binary files /dev/null and b/_docs/img/postman-config-body.png differ
diff --git a/_docs/img/postman-config-headers.png
b/_docs/img/postman-config-headers.png
new file mode 100644
index 0000000..4832238
Binary files /dev/null and b/_docs/img/postman-config-headers.png differ
diff --git a/_docs/img/postman-config-http.png
b/_docs/img/postman-config-http.png
new file mode 100644
index 0000000..71fda4e
Binary files /dev/null and b/_docs/img/postman-config-http.png differ
diff --git a/_docs/img/postman-icon.png b/_docs/img/postman-icon.png
new file mode 100644
index 0000000..a402c40
Binary files /dev/null and b/_docs/img/postman-icon.png differ
diff --git a/_docs/img/postman-query-results.png
b/_docs/img/postman-query-results.png
new file mode 100644
index 0000000..37e1e37
Binary files /dev/null and b/_docs/img/postman-query-results.png differ
diff --git a/_docs/img/postman-query.png b/_docs/img/postman-query.png
new file mode 100644
index 0000000..30e8054
Binary files /dev/null and b/_docs/img/postman-query.png differ
--
To stop receiving notification emails like this one, please contact
[email protected].