curl request syntax fix