This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Handle Different Nuxt API Request Methods
In this lesson, learn how to make Nuxt API endpoints that only respond to certain request methods such as post
, get
, put
, and delete
. This is accomplished by appending the desired request method at the end of the file name (before the file extension).
The REST Client VS code extension is a handy way to quickly test out REST API endpoints.
Links