This content has been marked as final.
Show 2 replies
-
1. Re: How to test data source connection through REST management interface
mayerw01 Oct 3, 2015 6:01 AM (in response to jsbournival)The call looks correct. Executing the above command gives me
HTTP/1.1 200 OK
Transfer-encoding: chunked
Content-type: application/json
Date: Sat, 03 Oct 2015 09:55:33 GMT
{"outcome" : "success", "result" : [true]}
So maybe this is caused by some authorization issue. Did you verify that the command works in jboss-cli:
/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
-
2. Re: How to test data source connection through REST management interface
jsbournival Oct 5, 2015 4:49 PM (in response to mayerw01)With curl, I am able to make it work. Although, using a REST client like Postman or Google Chrome Advanced Rest Client, I still have that annoying 403.