Completed the curl request parse with variables added