With HOSTNAME, USERNAME and PASSWORD being replaced by actual ones.
This url works fine in the browser and returns results i.e. names of computers reported in the last one day. However, when I use the same from Oracle SQL Developer to get the list- The output HTML coding has below line among othe stuff:
Please enter your username and password to connect to Web Reports.
etc. etc. etc.
My question is: The USERNAME and PASSWORD are present in the URL, then why it doesn’t recognize them and again asking for the same instead of displaying the result.
If you can - maybe try using curl. As you are using https:// you also need to be sure you are using permitted TLS versions (no idea what BigFix REST API demands - but I am sure someone else can).
And, using curl (or perhaps wget) you should be able to experiment with different TLS settings, as well as certificate acceptance (e.g., maybe Oracle SQL Developer is not accepting the BigFix Certificate - as in - did you have to accept the certificate the first time you used your browser?).
I’d also suspect that maybe your browser is automatically percent-encoding the URL for you (changing the spaces to %20 and such), and maybe the oracle client isn’tdoing that automatically.
Jason’s suggestion worked perfect.
Percent encoding was the key.
I just copied the % encoded url from browser and used it.
It works now
Thanks a million!