title: Axios request error SSL connection error React JS
body: <p>I have this post request in React JS :
  I need to pass files using Rest API and receive a response to the react
  but when I do that I get error .
  Rest Api written in python and there I do some process on the files</p>
  <pre><code> let postR = []
  
      results.map(async result =&gt; {
        // const response = await Promise.axios.post(
        postR.push(
          axios.post(
            'https://52.14.247.16:5000/process',
            { result },
            { headers: { 'Content-Type': 'application/json' } }
          )
        )
      })
      Promise.all(postR).then(res =&gt; {
        console.log(res)
        this.getRequest()
      })
  </code></pre>
  <p>and here the get request that I sent from the react to do something there:</p>
  <pre><code>  getRequest = async () =&gt; {
      axios
        .get(
          'https://52.14.247.16:5000/start/' +
            this.props.maxLen +
            '+' +
            this.props.minLen +
            '+' +
            this.props.maxDistance +
            '+' +
            this.props.minDistance +
            '+' +
            this.props.MicrobeType +
            '+' +
            this.state.files.length
        )
        .then(response =&gt; {
          console.log(response.data)
          //alert(response.data.value);
          console.log(response.data.value)
          // document.getElementById(&quot;output&quot;).innerHTML =response.data.value;
  
          this.downloadTxtFile(response.data.value)
        })
        .catch(function (error) {
          console.log(error)
          alert('Problem at the server\nTry later\n' + error)
        })
    }
  
  
  
  </code></pre>
  <p>so I receive errors like that :</p>
  <pre><code>
  xhr.js:178 POST https://52.14.247.16:5000/process net::ERR_SSL_PROTOCOL_ERROR
  
  
  createError.js:16 Uncaught (in promise) Error: Network Error
      at createError (createError.js:16)
      at XMLHttpRequest.handleError (xhr.js:83)
  
  
  POST https://52.14.247.16:5000/process net::ERR_SSL_PROTOCOL_ERROR
  </code></pre>
  <p>I need a help !</p>