Microsoft
MB2-701 · Question #19
You write the following code segment to create an Account record by using jQuery and the Representational State Transfer (REST) endpoint. (Line numbers included for reference only.) The variable…
The correct answer is D. var entity = encodeURI(account). See the full explanation below for the reasoning.
Question
You write the following code segment to create an Account record by using jQuery and the Representational State Transfer (REST) endpoint. (Line numbers included for reference only.) The variable ODataPath is set correctly. Which code segment should you include at line 03 to create the new Account record?
Exhibit
Options
- Avar entity = DSON.stringify(account),
- Bvar entity = JSON.parse(account),
- Cvar entity = $.parseXML(account)t
- Dvar entity = encodeURI(account),
How the community answered
(59 responses)- A12% (7)
- B2% (1)
- C3% (2)
- D83% (49)
Community Discussion
No community discussion yet for this question.
