Error during POST request: Curl POST error: URL using bad/illegal format or missing URL