ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 130 - Certified B2C Commerce Developer discussion

Report
Export

A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purpose is to display updated information to the user when the request is completed, without otherwise modifying the appearance of the current page.

According to SFRA practices, which method best supports this objective?

A.
res.json()
Answers
A.
res.json()
B.
res.render()
Answers
B.
res.render()
C.
res.print()
Answers
C.
res.print()
D.
res.log()
Answers
D.
res.log()
Suggested answer: B

Explanation:

Reference: https://www.beeit.rs/blog/getting-started-with-controllers-models-and-decorators-sfcc

asked 23/09/2024
Ken Mak
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first