WebHCat provides a REST API for HCatalog and related Hadoop components.
| ![[Note]](../common/images/admon/note.png) | Note | 
|---|---|
| The original work to add REST APIs to HCatalog was called Templeton. For backward compatibility the name still appears in URLs, log file names, etc. | 
For details about WebHCat (Templeton), see the following resources:
The "Security" section of the WebHCat Overview should be updated with information in the Note below:
The current version supports two types of security:
- Default security (without additional authentication) 
- Authentication via Kerberos 
Every REST resource can accept the following parameters to aid in authentication:
- user.name: The user name as a string. Only valid when using default security. 
- SPNEGO credentials: When running with Kerberos authentication. 
| ![[Note]](../common/images/admon/note.png) | Note | 
|---|---|
| The user.name parameter is part of POST parameters for POST calls, and part of the URL for other calls. For example, to specify user.name in a GET :table command: 
% curl -s 'http://localhost:50111/templeton/v1/ddl/database/default/table/my_table?user.name=ctdean'
                    And to specify user.name in a POST :table command: 
% curl -s -d user.name=ctdean \
       -d rename=test_table_2 \
       'http://localhost:50111/templeton/v1/ddl/database/default/table/test_table'
                     | 


