How to create a model that will work through URL?


#1

Hello everyone.

Need your professional help.

I have a URL that looks like this: /user/ {user_id} / inventory / search wherein host and namespace I specified in an adapter. I can not understand how can I create the right model that will work through this URL?

Thank you!