title: Axios post request on proxy in create-react-app?
body: <p>so I have this in my package.json proxy in create-react-app:</p>
  
  <pre><code>"proxy": "http://www.myapi.com"
  </code></pre>
  
  <p>my post requests works on other routes:</p>
  
  <pre><code>axios.post('/v1/users', { // http://www.myapi.com/v1/users
              email: email,
              password: password
          })
          .then((response) =&gt; { 
              this.setState((state, props) =&gt; ({
                  registrationSuccess: true
              }));
          })
          .catch((error) =&gt; {
              this.setState((state, props) =&gt; ({
                  registrationError: true
              }));
          });
  </code></pre>
  
  <p>but when I want to make post request on root, this works on postman, like on <a href="http://www.myapi.com" rel="nofollow noreferrer">http://www.myapi.com</a> it fails, this fails:</p>
  
  <pre><code> axios.post('/', { // http://www.myapi.com
                  email: email,
                  password: password
              })
  </code></pre>
  
  <p>it will make post request on localhost:3000/, but I want to make post request on proxy. help?</p>