PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant code?

DRAG DROP
You develop an HTML application that calls a web service to retrieve JSON data. The web
service contains one method named GetFullName that returns an Object named data. The
data object contains two properties named GivenName and Surname.
You need to load data from the web service to the webpage.
How should you complete the relevant code? (To answer, drag the appropriate code
segment or code segments to the correct location or locations in the answer area. Use only
code segments that apply.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

6 Comments on “How should you complete the relevant code?

  1. BarryC says:

    Hmmm, I’m not too sure about that. In the question it states ‘The web
    service contains one method named GetFullName that returns an Object named data. The
    data object contains two properties named GivenName and Surname.’. I would think that res contains an object named data that has two properties, GivenName and Surname.




    0



    0

Leave a Reply