Error during POST request: Curl POST error: URL rejected: Malformed input to a URL function