title: How do I create an automated API test in Microsoft Playwright?
body: <p>Is it possible to create API automation tests in Microsoft Playwright? If so how do I create the following POST request as an automated test in Playwright using javascript?</p>
  <p>Please note below is just an example.</p>
  <p>POST</p>
  <pre><code>https://pokeapi.co/api/v2/pokemon-form/1/
  </code></pre>
  <p>BODY</p>
  <pre><code>{
     &quot;name&quot;:&quot;test&quot;    
  }
  </code></pre>