<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vasudevan</title>
    <description>The latest articles on DEV Community by Vasudevan (@vasudevan2992).</description>
    <link>https://dev.to/vasudevan2992</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1412515%2F71d1fb3d-844f-460d-a49e-7bb1f3d4f922.png</url>
      <title>DEV Community: Vasudevan</title>
      <link>https://dev.to/vasudevan2992</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vasudevan2992"/>
    <language>en</language>
    <item>
      <title>cypress - req.reply()</title>
      <dc:creator>Vasudevan</dc:creator>
      <pubDate>Tue, 01 Oct 2024 06:44:45 +0000</pubDate>
      <link>https://dev.to/vasudevan2992/cypress-reqreply-3an0</link>
      <guid>https://dev.to/vasudevan2992/cypress-reqreply-3an0</guid>
      <description>&lt;p&gt;cy.intercept({ &lt;br&gt;
  method: 'GET', &lt;br&gt;
  url: '&lt;a href="https://rahulshettyacademy.com/Library/GetBook.php?AuthorName=shetty" rel="noopener noreferrer"&gt;https://rahulshettyacademy.com/Library/GetBook.php?AuthorName=shetty&lt;/a&gt;',&lt;br&gt;
}, (req) =&amp;gt; {&lt;br&gt;
  req.reply({ &lt;br&gt;
    statusCode: 200,&lt;br&gt;
    body:{ &lt;br&gt;
      "book_name": 'Modified Response book',&lt;br&gt;
      "isbn": "BSG",&lt;br&gt;
      "aisle": "2302"&lt;br&gt;
     }&lt;br&gt;
  });&lt;br&gt;
}).as('bookRetrievals') &lt;/p&gt;

&lt;p&gt;where am i going wrong here, i know i can use other ways.. but is this wrong way to use req.reply() or what am i missing .. i just want to stub with my response instead of original api response using reply()&lt;/p&gt;

</description>
      <category>e2e</category>
      <category>cypress</category>
    </item>
  </channel>
</rss>
