Rails Engine — A Tale of API Endpoints

Mackenzie Frey
Jan 28 · 1 min read
The schema (relationship between database tables) for Rails Engine.
Here is an example of an API endpoint in Rails Engine. This endpoint serves a random invoice resource by utilizing the URL http://localhost:3000/api/v1/invoices/random .
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade