working on GET/HEAD/POST local