REST API debugging

Thanks! Implemented. Your word is my command.