List of questions
Related questions
Question 55 - Certified B2C Commerce Developer discussion
A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?
A.
exports.PaymentForm = guard.ensure(['http', 'post', 'loggedIn'], handlePaymentForm);
B.
exports.PaymentForm = guard.expose(['post', 'loggedIn'], handlePaymentForm);
C.
exports.PaymentForm = guard.httpsPost(handlePaymentForm);
D.
exports.PaymentForm = guard.ensure(['https', 'post', 'loggedIn'], handlePaymentForm);
Your answer:
0 comments
Sorted by
Leave a comment first