How to Make POST Requests for Custom Endpoints using ccRestClient?
(Doc ID 2617660.1)
Last updated on DECEMBER 11, 2020
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
OCCS doesn't recommend using an explicit endpoint call using direct AJAX calls, rather One should use specialized functions available in widget such as widget.load or libraries such as ccRestClient and restAdapter.
These libraries and functions have been optimized to provide data in proper format as well extra payloads such as headers and meta information required to get proper data from the endpoints. For OOTB endpoints, it is possible to use CCRestClient but how to make requests for non-native (custom) endpoints using POST requests using ccRestClient?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document