Location header should be created with resourcesBasePath when creating a resource