Working REST with GET/POST/PUT for any data