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!

APEX Web Rest Request with "Digest" Scheme - Question

GasparYYCDec 9 2022

Hi everyone
I have to make a rest request using Auth. Model = Digest.
According to the document I could use the Digest scheme but there is no documentation whatsover about it..

APEX_WEB_SERVICE.MAKE_REST_REQUEST (
    p_url                   => 'http://sample.data.crea.ca/Login.svc/Login'
    p_http_method           => 'GET',
    p_scheme                => 'Digest);

Question: Does anyone know what the scheme of 'Digest' will do in the context of the MAKE_REST_REQUEST call?

Basic information on how Digest Authentication works:
With Digest auth, the client sends a first request and the server responds with a few details, including a number that can be used only once (a nonce), a realm value, and a 401 unauthorized response. You then send back an encrypted array of data including a username and password combined with the data received from the server in the first request. The server uses the passed data to generate an encrypted string and compares it against what you sent in order to authenticate your request.

Any pointers will be greately appreciated
Thanks in advance.
-G

This post has been answered by Carsten Czarski-Oracle on Apr 29 2023
Jump to Answer
Comments
Post Details
Added on Dec 9 2022
1 comment
346 views