Getting Error: "Parse Error: Expected HTTP" - "HPE_INVALID_CONSTANT"

did you explore other options?

If all else fails, you could do this using the TCP nodes.

adapt this solution from Nick to do it raw.