title: "No file uploaded or URL provided" when calling ocr.space API
body: <p>I'm trying to call this API from my C# app:
  <a href="https://ocr.space/OCRAPI" rel="nofollow">https://ocr.space/OCRAPI</a></p>
  
  <p>When I call it from curl, it just works fine:</p>
  
  <pre><code>curl -k --form "file=@filename.jpg" --form "apikey=helloworld" --form "language=eng" https://api.ocr.space/Parse/Image
  </code></pre>
  
  <p>I implemented it this way:</p>
  
  <pre><code> [TestMethod]
      public async Task  Test_Curl_Call()
      {
  
          var client = new HttpClient();
  
          String cur_dir = Directory.GetCurrentDirectory();
  
          // Create the HttpContent for the form to be posted.
          var requestContent = new FormUrlEncodedContent(new[] {
                new KeyValuePair&lt;string, string&gt;(  "file", "@filename.jpg"), //I also tried "filename.jpg"
                 new KeyValuePair&lt;string, string&gt;(     "apikey", "helloworld" ),
          new KeyValuePair&lt;string, string&gt;( "language", "eng")});
  
          // Get the response.
          HttpResponseMessage response = await client.PostAsync(
             "https://api.ocr.space/Parse/Image",
              requestContent);
  
          // Get the response content.
          HttpContent responseContent = response.Content;
  
          // Get the stream of the content.
          using (var reader = new StreamReader(await responseContent.ReadAsStreamAsync()))
          {
              // Write the output.
              String result = await reader.ReadToEndAsync();
              Console.WriteLine(result);
          }
  
      }
  </code></pre>
  
  <p>I get this answer : </p>
  
  <pre><code>{
      "ParsedResults":null,
      "OCRExitCode":99,
      "IsErroredOnProcessing":true,
      "ErrorMessage":"No file uploaded or URL provided",
      "ErrorDetails":"",
      "ProcessingTimeInMilliseconds":"0"
  }
  </code></pre>
  
  <p>Any clue?</p>
  
  <p>What's the @ character for in <code>"file=@filename.jpg"</code>?</p>
  
  <p>I put my filename.jpg file in the project <strong>and</strong> test project bin/debug  directory and run my test project in debug mode.</p>
  
  <p>So I don't think the error points to the file not being where expected.
  I'd rather suspect a syntax error in my code.</p>