<?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 POST Data in a form in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8376#M237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings DevCenter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write a custom application that will prevent specific data in an HTTP Post. In the attached trace, I would like to block the phrase 'THISISATEST' in the POST but allow any other phrase. (In reality I would also key in on several other headers to make it site specific, but I am not having problems with that part)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried many option to include 'http-req-message-body' using both string text and HEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 12:43:40 GMT</pubDate>
    <dc:creator>Chris_Williams</dc:creator>
    <dc:date>2015-07-21T12:43:40Z</dc:date>
    <item>
      <title>POST Data in a form</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8376#M237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings DevCenter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write a custom application that will prevent specific data in an HTTP Post. In the attached trace, I would like to block the phrase 'THISISATEST' in the POST but allow any other phrase. (In reality I would also key in on several other headers to make it site specific, but I am not having problems with that part)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried many option to include 'http-req-message-body' using both string text and HEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 12:43:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8376#M237</guid>
      <dc:creator>Chris_Williams</dc:creator>
      <dc:date>2015-07-21T12:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: POST Data in a form</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8377#M238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe what you are looking for in the pattern-match operator is context=http-req-host-header pattern=THISISATEST qualifier=http-method: POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give that a try. I'm doing a custom application for one of our company's statistics applications via the GET method. Anytime it does a get on a very specific pattern to know if it is a customer GET or an employee GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 14:40:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8377#M238</guid>
      <dc:creator>bspilde</dc:creator>
      <dc:date>2015-07-21T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: POST Data in a form</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8378#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply, but that did not work either. I thought the host-header pattern only matched strings in the host header field. It does work when I add the sites hostname; but I am looking for form data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Chris Williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 14:59:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8378#M239</guid>
      <dc:creator>Chris_Williams</dc:creator>
      <dc:date>2015-07-21T14:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: POST Data in a form</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8379#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally ended up finding it with trial and error: http-req-params&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 15:11:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/post-data-in-a-form/m-p/8379#M240</guid>
      <dc:creator>Chris_Williams</dc:creator>
      <dc:date>2015-07-21T15:11:54Z</dc:date>
    </item>
  </channel>
</rss>

