Quiz: Using API Data
Please enjoy this self-check quiz to help you identify key concepts, points, and techniques discussed in this section.
What does "REST" stand for?
What methods can be used in a REST API request?
What does API stand for?
JSON stands for JavaScript Object Notation
Postman is a tool used for what?
What module could be used for making API requests from our Vue.js applications?
vue-router
axios
vue-resource
flux
axios
or vue-resource
to make HTTP requests from our Vue.js applications.Which querystring parameters are referenced in the following API request: 'https://example.com/api/v2/posts?authorId=2&tags=javascript'
v2
posts
authorId
tags
authorId
and tags
.Which function will be executed when a Vue.js component is invoked?
data ()
created ()
constructor ()
init ()
created ()
function is executed when a Vue.js component is invoked.Axios uses which JavaScript concept to define an HTTP request in order to handle the time it takes for the request to complete without freezing the application while it waits?
What other advanced JS concept can we use to handle the results and potential errors from an API request?
Visit Quiz Online
The quiz on this page has been removed from your PDF or ebook format. You may take the quiz by visiting this book online.