[enh] replacement of curl by requests