Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REST call set proxy (credentials with special characters)

Pavel_pNov 13 2020

Hi,
I'm trying to invoke a REST service through a web proxy with authentication and to make it even more complicated, because of the company policy passwords must contain special characters. Please, how to properly specify the p_proxy_override parameter? My username/password looks like this:

domain\username:password/contains-slash-and-minus

Without any escaping it raises a bad URL exception, when I tried to escape special characters (minus should not cause any problems...hopefully) like this

p_proxy_override => 'domain%5Cusername:password%2Fcontains-slash-and-minus@proxy-host.xy:8080'

I'm getting

Access Denied
​Your credentials could not be authenticated: "". You will not be permitted access until your credentials can be verified.

Any ideas would be highly appreciated.
Btw, has anybody pointed out that this font is not suitable for code blocks as it's almost unreadable?
Regards,
Pavel

This post has been answered by Pavel_p on Nov 15 2020
Jump to Answer
Comments
Post Details
Added on Nov 13 2020
1 comment
295 views