title: Laravel | Failed to load resource: the server responded with a status of 404 (Not Found)
body: <p>When I try to make url like that which have an id this problem occur</p>
  <blockquote>
  <p>Failed to load resource: the server responded with a status of 404 (Not Found)</p>
  </blockquote>
  <pre><code>Route::get('/doctor/{doctorId}', [App\Http\Controllers\DoctorController::class, 'services'])-&gt;name('doctor.profile');
  </code></pre>
  <p>if i view the page from other url which have no id it work i know that's strange and i have no idea why !!!</p>