<?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: Making an HTTP request from submitting a form in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743113#M60557</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/505816"&gt;@Mrafey&lt;/a&gt;,&amp;nbsp;The answer to this would depend on what you are trying to do.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you are looking to set up an HTTP request within the HubSpot platform, then you could use the HubSpot API to add custom functionality to your landing page. The HubSpot API allows developers to access and modify data within the platform.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you are looking to add an HTTP request to a page on your website that is hosted outside of HubSpot, then you would need to use custom coding on the page itself.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 09:07:05 GMT</pubDate>
    <dc:creator>Syeda_Fatima</dc:creator>
    <dc:date>2023-01-18T09:07:05Z</dc:date>
    <item>
      <title>Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/742679#M60552</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I have been wondering how or if it is possible to be able to make an HTTP GET request to the HubSpot API to retrieve information of a given contact.&lt;BR /&gt;&lt;BR /&gt;So for example on a HubSpot landing page I have setup a form with one field which is email and it has a verify button. What I intend to do is, once the user enters in an email address and clicks verify, an HTTP GET request is sent to retrieve information of that contact if that email matches up with a contact within our contact lists.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-01-17 at 11.36.34 AM.png" style="width: 886px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/83274i089B98BFD7711F5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-17 at 11.36.34 AM.png" alt="Screen Shot 2023-01-17 at 11.36.34 AM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If that is possible, once the request is made, how can I display that information onto the page?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:48:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/742679#M60552</guid>
      <dc:creator>Mrafey</dc:creator>
      <dc:date>2023-01-17T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743048#M60553</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/505816"&gt;@Mrafey&lt;/a&gt;,&amp;nbsp;Yes, this is possible. To make an HTTP GET request to the HubSpot API to retrieve information of a given contact, you will need to use the Contacts API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find the full documentation for the Contacts API here: &lt;A href="https://developers.hubspot.com/docs/methods/contacts/get_contact" target="_blank"&gt;https://developers.hubspot.com/docs/methods/contacts/get_contact&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the email address of the contact you are looking for to query the Contacts API and retrieve the relevant contact information.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 06:27:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743048#M60553</guid>
      <dc:creator>Syeda_Fatima</dc:creator>
      <dc:date>2023-01-18T06:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743050#M60554</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114957"&gt;@Syeda_Fatima&lt;/a&gt;&amp;nbsp;. I was able to find that documentation myself yet I am a bit confused on how to tie the request onto that form button within Hubspot when clicked.&lt;BR /&gt;&lt;BR /&gt;How would I be able to do that? Would you have any idea?&lt;BR /&gt;&lt;BR /&gt;Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 06:32:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743050#M60554</guid>
      <dc:creator>Mrafey</dc:creator>
      <dc:date>2023-01-18T06:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743074#M60555</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/505816"&gt;@Mrafey&lt;/a&gt;, Yesh, it's understood, The&lt;SPAN data-offset-key="5rdr6-50-0"&gt;&amp;nbsp;Hub&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-51-0"&gt;spot&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-52-0"&gt; documentation&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-53-0"&gt; is&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-54-0"&gt; quite&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-55-0"&gt; detailed&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-56-0"&gt; and&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-57-0"&gt; provides&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-58-0"&gt; step&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-59-0"&gt;-&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-60-0"&gt;by&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-61-0"&gt;-&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-62-0"&gt;step&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-63-0"&gt; instructions&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-64-0"&gt; on&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-65-0"&gt; how&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-66-0"&gt; to&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-67-0"&gt; create&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-68-0"&gt; a&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-69-0"&gt; custom&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-70-0"&gt; form&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-71-0"&gt; button&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-72-0"&gt; and&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-73-0"&gt; tie&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-74-0"&gt; it&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-75-0"&gt; to&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-76-0"&gt; a&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-77-0"&gt; request&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-78-0"&gt;.&lt;/SPAN&gt;&lt;SPAN data-offset-key="5rdr6-79-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-offset-key="5rdr6-79-0"&gt;So, in this case, i would suggest,&amp;nbsp;&lt;/SPAN&gt;the best way to tie a request to a form button within Hubspot is to use Hubspot's API. This API provides a way to connect your website to Hubspot, allowing you to send data from your website to Hubspot when a form button is clicked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;you could use the API to send an HTTP request when the form button is clicked. This request would include the information you want to send to Hubspot, such as the form data. You could then use the API to process the request and send the data to Hubspot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you should have a glance again over the documentation for the Hubspot API: &lt;A href="https://developers.hubspot.com/docs/methods/forms/submit_form" target="_blank"&gt;https://developers.hubspot.com/docs/methods/forms/submit_form&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 07:15:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743074#M60555</guid>
      <dc:creator>Syeda_Fatima</dc:creator>
      <dc:date>2023-01-18T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743080#M60556</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114957"&gt;@Syeda_Fatima&lt;/a&gt;,&amp;nbsp;I dont think I may have been clear but the form is on a landing page that is setup on HubSpot itself. So, where within HubSpot would I be able to code this HTTP request for that form button? I am just confused as to where I would code this HTTP request as I am new to HubSpot and its platform.&lt;BR /&gt;&lt;BR /&gt;Thank you again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 07:33:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743080#M60556</guid>
      <dc:creator>Mrafey</dc:creator>
      <dc:date>2023-01-18T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making an HTTP request from submitting a form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743113#M60557</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/505816"&gt;@Mrafey&lt;/a&gt;,&amp;nbsp;The answer to this would depend on what you are trying to do.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you are looking to set up an HTTP request within the HubSpot platform, then you could use the HubSpot API to add custom functionality to your landing page. The HubSpot API allows developers to access and modify data within the platform.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you are looking to add an HTTP request to a page on your website that is hosted outside of HubSpot, then you would need to use custom coding on the page itself.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 09:07:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Making-an-HTTP-request-from-submitting-a-form/m-p/743113#M60557</guid>
      <dc:creator>Syeda_Fatima</dc:creator>
      <dc:date>2023-01-18T09:07:05Z</dc:date>
    </item>
  </channel>
</rss>

