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
5 months agoHoa
5 months agoAlex
5 months agoOllie
5 months agoAlfred
5 months agoLizbeth
5 months agoNickie
5 months agoMila
5 months agoLouvenia
5 months agoJerry
5 months agoAhmed
4 months agoLuis
4 months agoRosenda
5 months agoRoyal
5 months agoLeila
5 months agoVashti
6 months agoRory
5 months agoGayla
5 months agoRonny
5 months agoRonny
5 months agoGerman
6 months agoKattie
6 months agoGlendora
6 months ago