Following are the rest endpoints I have. I want the user to call the 1st endpoint and for subsequent calls I want the userid to be in request. What are some of the best way to achieve this?
1. POST www.test.com/v1/users (return userid)
2. POST www.test.com/v1/services
3. PUT www.test.com/v1/services/{serviceId}
4. DELETE www.test.com/v1/services/{serviceId}
5. GET www.test.com/v1/services?search="search string for dynamic query"
6. PATCH www.test.com/v1/services/{serviceId}/{state}