Minor fixes to data types, correct HTTP methods / codes. Updated exampples.