check if the request is state based or location based

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>