You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
Must use _api/web/lists:
To retrieve all of the lists in a specific SharePoint site, you would make a GET request to http://<site url>/_api/
web/lists.
Incorrect:
Not B: The method must be GET (not POST).
How to: Complete basic operations using SharePoint 2013 REST endpoints