I want to know how to create a resource which has nested path in the rest api.
for example given the end point for employee resource, /companies/{company}/employees/{employee}
How can i create a employee record. i created a employee record, but the request is going to the top level /. sending a post request with employee data to /.
can i override buildURL with a function which builds the required path for this type and calls default function for other types.