---
title: "Discussion on \"Log Your Laravel API Routes With Middleware\" | Hashnode"
description: "Discussion on \"Log Your Laravel API Routes With Middleware\". From time-to-time, you will happen upon a problem between your frontend and API that you can't quite see. A dd() in your controller or a console.log() in your frontend just doesn't seem to cut it and the problem seems out of reach. Luckily, Laravel p..."
url: "https://hashnode.com/posts/log-your-laravel-api-routes-with-middleware/6032bcd872a689446db3f20a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Log Your Laravel API Routes With Middleware](https://blog.lloydmiller.dev/log-your-laravel-api-routes-with-middleware?utm_source=hashnode&utm_medium=feed)

From time-to-time, you will happen upon a problem between your frontend and API that you can't quite see. A dd() in your controller or a console.log() in your frontend just doesn't seem to cut it and the problem seems out of reach. Luckily, Laravel p...

Feb 21, 2021 · 2 min read · blog.lloydmiller.dev  
Updated Apr 23, 2021  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#apis](https://hashnode.com/tag/apis)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#testing](https://hashnode.com/tag/testing)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Lloyd Miller](https://hashnode.com/@Lloydinator)

@Lloydinator

  
[View profile](https://hashnode.com/@Lloydinator)

Full-stack Web Developer (Laravel and React)

I am a full-stack web developer that enjoys coding in Laravel and React.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
