I'm trying to access system console through curl : curl -L -i -X POST http://admin:abc@llocalhost:4503/system/console/bundles.jsp but it throws 500 internal server
instead " 401 " but in access and request log it's showing 200
==> access.log <==
22.214.171.124 - 29/Sep/2017:12:11:03 +0200 "POST /system/console/bundles.jsp HTTP/1.1" 200 - "-" "curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.3 libidn/1.10"
==> request.log <==
29/Sep/2017:12:11:03 +0200  -> POST /system/console/bundles.jsp HTTP/1.1
29/Sep/2017:12:11:03 +0200  <- 200 - 8ms
Can some one suggest any pointers why this happens .
29.09.2017 12:23:58.619 *WARN*  org.eclipse.jetty.servlet.ServletHandler /system/console/bundles.jsp
Obviously , thats how it works in the web. You have to login to the web first and then you have to navigate to system/console.... And for CURL, as far as I could remember you have to provide the username and password in the commands .. Are you doing the same ?