You develop an SAPUI5 app that updates dat on the SAP back-end system. What activities are required when you implement an XSRF token? Note: There are 2 correct answers to this question.
I think the correct answers are A) Retrieve the token and send it with each write request and C) Include the token in the HTTP request body of each write request
I think A and C are the way to go here. Gotta keep those pesky XSRF attacks at bay by including the token in the request. Sounds like a pretty straightforward SAPUI5 implementation to me.
B is a trap answer for sure. Refreshing an expired token? That's not how it works, you just need to retrieve the fresh token and send it with the request.
Haha, D is a classic - generate a new token for every read and write? That's just asking for trouble! Gotta love those XSRF token questions, they really separate the UI5 pros from the amateurs.
A and C are definitely the correct answers. You need to retrieve the token and send it with each write request, and include the token in the HTTP request body. No need to refresh or generate a new token for each request.
Elliot
4 months agoRickie
4 months agoTracey
4 months agoHoa
4 months agoAlex
4 months agoOllie
4 months agoAlfred
4 months agoLizbeth
4 months agoNickie
4 months agoMila
4 months agoLouvenia
4 months agoJerry
5 months agoAhmed
4 months agoLuis
4 months agoRosenda
4 months agoRoyal
4 months agoLeila
4 months agoVashti
5 months agoRory
4 months agoGayla
5 months agoRonny
5 months agoRonny
5 months agoGerman
5 months agoKattie
6 months agoGlendora
6 months ago