<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">We have an example for Java admin
      client [1] and another one showing how to call admin rest
      endpoints directly [2] <br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/tree/master/examples/admin-client">https://github.com/keycloak/keycloak/tree/master/examples/admin-client</a><br>
      [2]
<a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/tree/master/examples/demo-template/admin-access-app">https://github.com/keycloak/keycloak/tree/master/examples/demo-template/admin-access-app</a><br>
      <br>
      Marek<br>
       <br>
      On 02/08/16 15:09, Deepak Garg wrote:<br>
    </div>
    <blockquote
cite="mid:CAGi_5q_dRVMVWhq5GJp6BOEg+9Q0yW6P96xFFpxFRO3y825pww@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I need your help to test the following admin rest api.</div>
        <div><br>
        </div>
        <div>I was able to get the access_token using <a
            moz-do-not-send="true"
href="http://localhost:9090/auth/realms/master/protocol/openid-connect/token"><a class="moz-txt-link-freetext" href="http://localhost:9090/auth/realms/master/protocol/openid-connect/token">http://localhost:9090/auth/realms/master/protocol/openid-connect/token</a></a>
          rest api.</div>
        <div><br>
        </div>
        <div>As a next step, I like to get the list of all realms for
          which I am trying to use the below api</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
            href="http://localhost:9090/auth/admin/realms">http://localhost:9090/auth/admin/realms</a><br>
        </div>
        <div><br>
        </div>
        <div>I have got the access token but don't know how to test this
          using postman.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Please help me on this.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>