fix a typo when making a curl request