fix POST and XML examples