Added GET and PUT in [api] and tested a bit from [webui]