R
R
renniqs2017-10-06 16:03:32
Java
renniqs, 2017-10-06 16:03:32

What do the symbols mean?

What do the symbols " *, : , {}" (stars, colon, fig.brackets) mean, more precisely, what are they called in order to google correctly?
router.get("/api/data*")
router.get("/api/data/:id")
router.get("/api/data/{field_names}")

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
al_gon, 2017-10-06
@renniqs

URL Patterns

S
Sergey Suntsev, 2017-10-06
@GreyCrew

usually * means any number of characters,
:id means the
{} parameter of some variable or code
But this is not accurate, it may be different in different docks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question