2 Replies Latest reply on Oct 5, 2015 4:49 PM by JS Bournival

    How to test data source connection through REST management interface

    JS Bournival Newbie

      Hi, I found the syntax to trigger a connection test on a data source through the REST management interface:

       

      curl --digest -L -D - http://admin:admin123@localhost:9990/management/ -d '{"operation":"test-connection-in-pool","address":[{"subsystem":"datasources"},{"data-source":"ExampleDS"}]}' -HContent-Type:application/json
      

       

      Altough I'm always returned a 403. Which is strange because other functionalities are working.  Is there something in my HTTP call that is wrong?

       

      Thanks for helping.