Adding GET and PUT methods for gateway