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!

Web Credential HTTP Header Authentication type

nk_arw45 hours ago

Hi,

I am trying to call a REST API which requires authentication information and other parameters in the header.

Header parameters: username, password, and sysid

While calling the REST API using apex_web_service.make_rest_request, I do not want to pass authentication information in plaintext through apex_web_service.g_request_headers, so I have setup Web Credential of type "HTTP Header".

While setting up Web Credentials, I cannot find a way setup multiple header parameters.

I tried to put parameters in "Credential Name" field as colon separated like “username:password:sysid” and then put the secrets in “Credential Secret” field as “<username>:<password>:sysid”, but this approach did not work.

Is there a way achieve this

Thanks!

Comments
Post Details
Added 45 hours ago
2 comments
37 views