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_service.make_rest_request fails to return cookie

Jan-Peter Meyer3 days ago

Hi,
we are running APEX 24.2.2
I perform a webservice login with apex_web_service.make_rest_request which works fine (200).
The apex_web_service.g_response_cookies.count is 0

This webservice login call actually returns a cookie with additional security information.
When I perform the webservice login using:
curl -c /home/opc/cookies.txt …
I can retrieve the cookie info just fine.
The relevant line in the cookie is:
#HttpOnly_api.login.ibau.de FALSE / FALSE 1759585455 security 07f79c2f432bce9680c6829bba016f46
Note that the line starts with #HttpOnly_
Even though the first character ist # the line actually contains valid / important data (security 07f79c2f432bce9680c6829bba016f46)
Could it be, that apex_web_service.make_rest_request interprets the # as comment indicator and ignores the entire line?
Is there any other way of getting access to the cookie info?

Any help appreciated,
Jan-Peter

Comments
Post Details
Added 3 days ago
12 comments
84 views