I suggest you have a look at some guides about REST in general :) path
should be used to identify a resource, such as person/367 and
person/367/activity etc. headers are used for other things, but should not
really be for resource identification. Could be auth or similar things for
example.
--
Ko
Hi,
I am using Akka HTTP routes to define Akka HTTP REST end points.
Are there any guidelines that says "we should not use path param, and try
to use header", if yes in what all cases it should be followed?
for example a URI like /students/{state}/{dept} vs using using URI
/staudents and pa