Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Enterprise Vue > Lesson 33

Testing endpoints with dynamic segments

In the last video we created the logic for a new endpoint GET /items/:id, where the :id segment is dynamic. Let's now smoke test it with Postman.

To begin, we'll let's create a new request. The URL for this request is going to require a valid Mongo ID.

We can easily get one of these by first running the GET /items request, since each item returned will include it's ID. For example, I've gotten the value 5b45a2337510941e6cbe99ec.


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom