<?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 Re: Is It Possible to Make API Endpoint Calls from a Front-End? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Is-It-Possible-to-Make-API-Endpoint-Calls-from-a-Front-End/m-p/1073735#M78495</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/852966"&gt;@Sadat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you're right. The CORS limitations would prevent that.&amp;nbsp;You’ll need a server-side component to handle the token exchange and work around the CORS requirements by acting as a go-between for your API calls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Josh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 13:28:51 GMT</pubDate>
    <dc:creator>Josh</dc:creator>
    <dc:date>2024-11-22T13:28:51Z</dc:date>
    <item>
      <title>Is It Possible to Make API Endpoint Calls from a Front-End?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Is-It-Possible-to-Make-API-Endpoint-Calls-from-a-Front-End/m-p/1073530#M78479</link>
      <description>&lt;P&gt;This is more of a sanity check than anything else. We're trying to reduce our public app's architecture complexity as much as possible.&lt;BR /&gt;&lt;BR /&gt;Taking into consideration the OAuth flow required to make requests to HubSpot's API endpoints, is it possible in any way to make a request directly from a static front-end (no server involved)? Or do the OAuth flow and the CORS limitations always prevent that?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 05:00:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Is-It-Possible-to-Make-API-Endpoint-Calls-from-a-Front-End/m-p/1073530#M78479</guid>
      <dc:creator>Sadat</dc:creator>
      <dc:date>2024-11-22T05:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Possible to Make API Endpoint Calls from a Front-End?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Is-It-Possible-to-Make-API-Endpoint-Calls-from-a-Front-End/m-p/1073735#M78495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/852966"&gt;@Sadat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you're right. The CORS limitations would prevent that.&amp;nbsp;You’ll need a server-side component to handle the token exchange and work around the CORS requirements by acting as a go-between for your API calls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Josh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 13:28:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Is-It-Possible-to-Make-API-Endpoint-Calls-from-a-Front-End/m-p/1073735#M78495</guid>
      <dc:creator>Josh</dc:creator>
      <dc:date>2024-11-22T13:28:51Z</dc:date>
    </item>
  </channel>
</rss>

