C
C
chincharovpc2019-10-02 22:02:40
Laravel
chincharovpc, 2019-10-02 22:02:40

Routes in Laravel?

I have a project that I would like to understand.
I stopped at the fact that I do not find a description of the routes.
The vue API is described like this and it works

axios.get(`/webapi/post/${id}/edit`).then(res => {
         resolve(res)
       })

but I can't find where exactly it is described.
I thought the description should be in web.php, but there is no such place.
Where else can you describe routes?
Sory if I said something wrong

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2019-10-02
@JhaoDa

in api.php? No, it would be too easy, you looked into it, you couldn't help but look. Or could?
Routes can be described anywhere - in configs, providers, databases - it depends on the tasks and imagination of the author.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question