CookieMonster's avatar

Are routes request considered to be same as REST API?

Just wanted to clarify this as I've noticed laravel applications, we tend to use GET,POST,PUT,etc in web.php for routing.

Is that considered the same as REST API since they also have the same methods of request?

0 likes
2 replies
bobbybouwmann's avatar

Yeah, the routes are considered as REST routes indeed. You can use them in any way you want, but you can use the RESTfull way as well ;)

CookieMonster's avatar

What actually is the difference between REST and RESTful?

Then what about REST API as there is an api.php in routes as well?

Please or to participate in this conversation.