My Oracle Support Banner

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.

Goal

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?
 

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.