Fixed Curl request to work with parameter contains spaces