C is correct:
url=response.links["next"]["url"]
One method is using the HTTP “Link” header, which provides a list of resources (URLs) and the type of relationship between a resource and the current page, defined in the “rel” parameter. The client can use links and relationships to navigate through the data. The requests library automatically parses “Link” headers and makes them easily consumable as the “links” property of the Response object.
D.
The script uses res.headers.get method to access the links header... so we use the same method to get the next url from the response headers. The requests library has no links method in a response object.
D
Disregard above. res.links is a valid method in a response object.
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
tommiy
Highly Voted 1 year, 8 months agodesignated
Most Recent 9 months, 4 weeks agomairo3000
1 year, 2 months agojjkcoins
1 year, 8 months agojjkcoins
1 year, 8 months ago