Added part of REST API support to identify the request type nad method and to allow only PUT/POST/GET reqeusts only for now