# What is API Route?

A server-side endpoint in your app that handles HTTP requests. You use API routes for form submissions, authentication, database calls, and webhooks.

## In real work

Create a POST API route at /api/subscribe. Validate the email, save it to the database, and return 200 on success.

## Related terms

- [Preview Deployment](https://prompthausapp.com/learn/preview-deployment.md)
- [ISR](https://prompthausapp.com/learn/isr.md)
- [Edge Network](https://prompthausapp.com/learn/edge-network.md)
- [Cold Start](https://prompthausapp.com/learn/cold-start.md)
- [Fluid Compute](https://prompthausapp.com/learn/fluid-compute.md)

## How is this different from Googling it?

Google gives a definition. Prompthaus pairs each term with how it shows up in standups, PRs, prompts, and design reviews—then quizzes you until the word sticks. One term a day on iPhone.

- Category: Launch
- HTML: https://prompthausapp.com/learn/api-route
- App Store: https://apps.apple.com/us/app/prompthaus-ai-vocabulary/id6776314407
