some requirement in my school project asks to send some AJAX request to the server to the url :
http://localhost:8000/messages/:id
where I should set the value of the id as a unique number. I know that ?
means a query search and #
as mentioned here but what does :
mean?
and if I set id value to be equal to 123,how it is shown ,like this : http://localhost:8000/messages/:123
or like this:http://localhost:8000/messages/123
I appreciate any help