Add POST and PUT in server