REST services in storefront JSP files
wcf:rest
tag.Storefront REST tags
The wcf:rest tag is used in the storefront to send REST requests.
This JSP tag takes input and sends out REST requests,
and then composes responses in a specified format. A REST tag, which is defined as a template, does
not send out REST requests but persist its parameters in memory as default input. Then, it provides
a mechanism that can reuse the template without identifying all parameters, only the modified ones.
This approach is similar to the expressionBuilder in the
wcf:getData
tag REST access profile. A parameter is passed in to the REST tag to
determine the server calculation and how much detailed data is being queried for the resource. It
supports two format types. One format type is the same as the traditional access profile and search
profile in a web service, a meaningful string that indicates only the querying details. the other
format type is a detailed one, which identifies all required fields of the resource.
For more information, see Tag: rest.
JSON support in JSP file tags
In addition to SDOs, the responsive Aurora starter store supports fetching JSON objects, reducing the dependencies on SDOs fetched elsewhere on the JSP files.
Category | Tag |
---|---|
Coremetrics |
|
Marketing |
|
Page Composer |
|