title: Upload a wav file to my server using recorder.js ,ajax and asp.net
body: <p>I'm trying to upload a recorded audio with the following code:</p>
  <p>ajax code:</p>
  <pre><code>$.ajax({
           type: 'POST',
           data: { recording: url },
           url: '@Url.Action(&quot;UploadAudio&quot;, &quot;Pages&quot;)',
           success: function (data) {
           alert('s');
           }
       });
  </code></pre>
  <p>controller action:</p>
  <pre><code>public IActionResult UploadAudio(string recording)
      {
          
          //string audio = await UserFile.UploadeNewFileAsync(&quot;&quot;, recording, 
         _environment.WebRootPath, Properties.Resources.Courses);
  
          return Ok();
      }
                                         
  </code></pre>