<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Redirect using serverless function in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Redirect-using-serverless-function/m-p/781928#M33800</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I work on api using serverless function, i face problem with redirect page after call this api.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sapna1_0-1681466020920.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/89208i09D3BD4C355925D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sapna1_0-1681466020920.png" alt="Sapna1_0-1681466020920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to redirect back url.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 09:54:29 GMT</pubDate>
    <dc:creator>Sapna1</dc:creator>
    <dc:date>2023-04-14T09:54:29Z</dc:date>
    <item>
      <title>Redirect using serverless function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Redirect-using-serverless-function/m-p/781928#M33800</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I work on api using serverless function, i face problem with redirect page after call this api.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sapna1_0-1681466020920.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/89208i09D3BD4C355925D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sapna1_0-1681466020920.png" alt="Sapna1_0-1681466020920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to redirect back url.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 09:54:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Redirect-using-serverless-function/m-p/781928#M33800</guid>
      <dc:creator>Sapna1</dc:creator>
      <dc:date>2023-04-14T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect using serverless function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Redirect-using-serverless-function/m-p/782079#M33810</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/341911"&gt;@Sapna1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You've got a few options here:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;handle the redirect based on the request response on the front-end&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;i.e. ….then(resp =&amp;gt; winow.location = `XXXX`)&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;return a location header from you serverless function
&lt;OL&gt;
&lt;LI&gt;the exact syntax escapes me at the moment&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 15:17:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Redirect-using-serverless-function/m-p/782079#M33810</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2023-04-14T15:17:42Z</dc:date>
    </item>
  </channel>
</rss>

