title: How can I read a response sent by my api running on a remote server when data has been sent to the api by an html form
body: <p>I am currently working on a school project that requires met to setup a website that can interact with an api that is running on a server which is the only way to acces our database.
  The problem I'm having is that I can get a connection to the api and send data to it using an html form, but I can not use currently use the response that the api sends back</p>
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;
              Bank O' Thot -Login
          &lt;/title&gt;
      &lt;/head&gt;
  
      &lt;body class=&quot;login&quot;&gt;
          &lt;img src=&quot;tqlogo.png&quot; width=400px height=400px class=&quot;third&quot;&gt;
          &lt;form method = &quot;POST&quot; action = &quot;http://localhost:5000/checkIfRegistered&quot;&gt;
              &lt;label&gt; IBAN: &lt;label&gt; &lt;br /&gt;
              &lt;input type=&quot;text&quot; name=&quot;IBAN&quot; placeholder=&quot;IBAN&quot; minlength=&quot;16&quot; maxlength=&quot;16&quot;&gt; 
              &lt;input type=&quot;submit&quot; value=&quot;Next&quot;&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>And what I see when clicking the submit button is just blank screen with &quot;OK&quot; on it, the api return multiple possible &quot;Homemade&quot; http return codes for example</p>
  <p>208: &quot;OK&quot;</p>
  <p>434: &quot;Account blocked&quot;</p>
  <p>etc., so I'm looking for a way that I can send the data that has been entered in to the form, using a url with this format: <code>http://&lt;IP&gt;:5000/checkIfRegistered?IBAN=&lt;formData&gt;</code>, and use the response again in the website to continue to the next page</p>