<?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 Event HTTP API and cross-origin in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/312938#M29865</link>
    <description>&lt;P&gt;Is there a way to resolve CORS issues for HubSpot Events HTTP API? I need to allow that for several origins. Only portalId is sent there in the URL - does not look like secret information.&lt;/P&gt;&lt;P&gt;Although such events are accepted by the hubspot server but I would like to avoid CORS warnings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 07:32:19 GMT</pubDate>
    <dc:creator>Voyager2</dc:creator>
    <dc:date>2020-01-20T07:32:19Z</dc:date>
    <item>
      <title>Event HTTP API and cross-origin</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/312938#M29865</link>
      <description>&lt;P&gt;Is there a way to resolve CORS issues for HubSpot Events HTTP API? I need to allow that for several origins. Only portalId is sent there in the URL - does not look like secret information.&lt;/P&gt;&lt;P&gt;Although such events are accepted by the hubspot server but I would like to avoid CORS warnings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 07:32:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/312938#M29865</guid>
      <dc:creator>Voyager2</dc:creator>
      <dc:date>2020-01-20T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Event HTTP API and cross-origin</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/312956#M29871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115800"&gt;@Voyager2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can see that this question was asked on a previous thread where we addressed a CORS question. I'll go ahead and update that thread so that users with a similar question to this are redirected here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To look into this for you, would you be able to provide a screenshot of the specific error you're seeing from your end when using the &lt;A href="https://developers.hubspot.com/docs/methods/enterprise_events/http_api" target="_self"&gt;Events HTTP API&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 09:23:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/312956#M29871</guid>
      <dc:creator>Willson</dc:creator>
      <dc:date>2020-01-20T09:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Event HTTP API and cross-origin</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/313059#M29885</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="console.jpg" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/23159i23F0F261E5855076/image-size/large?v=v2&amp;amp;px=999" role="button" title="console.jpg" alt="console.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72929"&gt;@Willson&lt;/a&gt;&amp;nbsp;,This is the screen. Just usual CORS warning. No CORS headers in the response. It would be good if it is possible to setup a bunch of origins in the HubSpot accont to allow CORS headers for them.&lt;/P&gt;&lt;P&gt;It is not very convenient to proxy such requests with user's server to avoid warnings.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 15:38:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/313059#M29885</guid>
      <dc:creator>Voyager2</dc:creator>
      <dc:date>2020-01-20T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Event HTTP API and cross-origin</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/316182#M30255</link>
      <description>&lt;P&gt;Well, no reply. I've just made a server-side proxy for these requests.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 09:51:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Event-HTTP-API-and-cross-origin/m-p/316182#M30255</guid>
      <dc:creator>Voyager2</dc:creator>
      <dc:date>2020-02-01T09:51:02Z</dc:date>
    </item>
  </channel>
</rss>

