Getting Data In

REST GET request to get list of AD users

New Member

Hello, I'm trying the following request in Postman to send a request to get the list of Active Directory users:
http://:8000/en-GB/manager/search/authentication/users | fields title roles realname
The request header has the basic authencation and I get a 200 response.

However, the response body is not what I expected. I'm getting the following response body:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie  lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 lt-ie9"> <![endif]-->
<!--[if IE 9]>    <html class="no-js ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js"> <!--<![endif]-->
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="description" content="listen to your data" />
    <meta name="author" content="Splunk Inc." />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="referrer" content="origin" />
    <script type="text/json" id="splunkd-partials">

When click on Postman's Preview tab, it says "Splunk relies on JavaScript to function properly.
Please enable JavaScript and then refresh the page to login."

Is my reqest correct for Splunk Enterprise version 7.3.1)
Note that I was able to get the expected result when I try the search command in the GUI:
| rest /services/authentication/users | fields title roles realname
Thanks in advance

Tags (2)
0 Karma


Are you trying port 8000 or port 8089 -- command port is usually 8089.

0 Karma

New Member

Hi, When I try https, port 8089, I'm getting a 404 return

0 Karma