gouseferoz
8 months ago

Using parameters in the URL

Posted 8 months ago by gouseferoz

Hello Everyone,

This may seem simple but I am having trouble in figuring out how to use parameters in the URL.

I am familiar in using URLs like

http://localhost/test/1/create

, where 1 being the dynamic value and its associated route will be something like:

/test/{id}/create

But I want to use something like,

http://localhost/test/create?id=1

I tried searching google, but I didnt get the answer. It would be a great help if you can help me out here.

Please sign in or create an account to participate in this conversation.