I want to handle delete request on server side by using cpprestsdk. But the problem is the end part of url is string and can contain any value. ex http://127.0.0.1/subscriptions/{"it is id in string format"}. How to create a single listener for that?.
Do I need to create a separate listener for seperate id .Like one http listener for http://127.0.0.1/subscriptions/1 another http listener for http://127.0.0.1/subscriptions/2
I think this method is ugly.
The request is can be written as
subscriptions/{id}