Removed single quotes around curl body, replaced with double quotes, could not substitute variables with single quotes