Refactor of naming curlOptions instead of params.