<?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 In a REST persistent script custom endpoint, how to return HTTP status code other than 200? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/In-a-REST-persistent-script-custom-endpoint-how-to-return-HTTP/m-p/362818#M5895</link>
    <description>&lt;P&gt;I'm writing my own custom endpoint which is needed to be persistent. So it is based on the PersistentServerConnectionApplication class because performance is important. But how to return other HTTP status codes other than 200? I have to check some authorization within my custom endpoint so I rather want to use a status code in the range of 4xx if something goes wrong.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2018 20:22:02 GMT</pubDate>
    <dc:creator>lekanneer</dc:creator>
    <dc:date>2018-04-25T20:22:02Z</dc:date>
    <item>
      <title>In a REST persistent script custom endpoint, how to return HTTP status code other than 200?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/In-a-REST-persistent-script-custom-endpoint-how-to-return-HTTP/m-p/362818#M5895</link>
      <description>&lt;P&gt;I'm writing my own custom endpoint which is needed to be persistent. So it is based on the PersistentServerConnectionApplication class because performance is important. But how to return other HTTP status codes other than 200? I have to check some authorization within my custom endpoint so I rather want to use a status code in the range of 4xx if something goes wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 20:22:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/In-a-REST-persistent-script-custom-endpoint-how-to-return-HTTP/m-p/362818#M5895</guid>
      <dc:creator>lekanneer</dc:creator>
      <dc:date>2018-04-25T20:22:02Z</dc:date>
    </item>
  </channel>
</rss>

