Fix CURL parameters in reque