© Adam Freeman 2018
Adam FreemanPro Vue.js 2https://doi.org/10.1007/978-1-4842-3805-9_19

19. Using RESTful Web Services

Adam Freeman1 
(1)
London, UK
 
In this chapter, I demonstrate how to consume a RESTful web service in a Vue.js application. I explain the different ways that HTTP requests can be made and extend the example application so that it reads and stores its data from a server. Table 19-1 puts using web services n context.
Table 19-1

Putting RESTful Web Services in Context

Question

Answer

What are they?

RESTful web services provide data to web applications over HTTP requests.

Why are they useful?

Many applications need to access data and allow users to create, modify, and delete objects from a persistent data store.

How are they used?

The web application ...

Get Pro Vue.js 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.