<?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: Rest Api not allowing special character in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574451#M10185</link>
    <description>&lt;P&gt;I found the way to send this characters by encoding to &lt;STRONG&gt;XML-ENCODE&lt;/STRONG&gt; and then do a &lt;STRONG&gt;URL-ENCODED&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;So the first step is to encode this characters to xml-encode:&lt;/P&gt;&lt;PRE&gt;After:&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;; &amp;amp; &amp;gt; &amp;lt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Before:&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;; &amp;amp;amp; &amp;amp;gt; &amp;amp;lt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;And then encode to url-encode:&lt;/P&gt;&lt;PRE&gt;After:&amp;nbsp;  &lt;STRONG&gt;; &amp;amp;amp; &amp;amp;gt; &amp;amp;lt;&lt;/STRONG&gt;&lt;BR /&gt;Before:&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;%3B %26amp%3B% 26gt%3B% 26lt%3B&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In the end I have to send this message:&lt;/P&gt;&lt;PRE&gt;'eai:data=&amp;lt;dashboard&amp;gt;&amp;lt;label&amp;gt;My Report&amp;lt;/label&amp;gt;&amp;lt;description&amp;gt;My characters are: %3B %26amp%3B% 26gt%3B% 26lt%3B and more...&amp;lt;/description&amp;gt;&amp;lt;/dashboard&amp;gt;'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 17:00:49 GMT</pubDate>
    <dc:creator>luist</dc:creator>
    <dc:date>2021-11-10T17:00:49Z</dc:date>
    <item>
      <title>Rest Api not allowing special character</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574071#M10183</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the Splunk API 8.1.1 and using a script to UPDATE an existing dashboard. When i try to send these characters&amp;nbsp;&lt;STRONG&gt;; &amp;amp; &amp;gt; &amp;lt;&lt;/STRONG&gt; i got an error 400 bad request saying "...&lt;STRONG&gt;&lt;SPAN&gt;is&amp;nbsp;not&amp;nbsp;supported&amp;nbsp;by&amp;nbsp;this&amp;nbsp;handler&lt;/SPAN&gt;&lt;/STRONG&gt;".&lt;/P&gt;&lt;PRE&gt;curl --location --request POST 'https://localhost:8089/servicesNS/nobody/myapp/data/ui/views/mydashboard' \&lt;BR /&gt;--header 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' \&lt;BR /&gt;--header 'Content-Type: text/html' \&lt;BR /&gt;--data-raw 'eai:data=&amp;lt;dashboard&amp;gt;&amp;lt;label&amp;gt;My Report&amp;lt;/label&amp;gt;&amp;lt;description&amp;gt;My characters are: ; &amp;amp; &amp;gt; &amp;lt; and more...&amp;lt;/description&amp;gt;&amp;lt;/dashboard&amp;gt;'&lt;/PRE&gt;&lt;P&gt;How can I send these characters so I can display them on my dashboard?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 20:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574071#M10183</guid>
      <dc:creator>luist</dc:creator>
      <dc:date>2021-11-08T20:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Api not allowing special character</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574074#M10184</link>
      <description>&lt;P&gt;Send the characters HTML-encoded (&amp;amp;gt;, etc.).&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 20:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574074#M10184</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-08T20:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Api not allowing special character</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574451#M10185</link>
      <description>&lt;P&gt;I found the way to send this characters by encoding to &lt;STRONG&gt;XML-ENCODE&lt;/STRONG&gt; and then do a &lt;STRONG&gt;URL-ENCODED&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;So the first step is to encode this characters to xml-encode:&lt;/P&gt;&lt;PRE&gt;After:&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;; &amp;amp; &amp;gt; &amp;lt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Before:&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;; &amp;amp;amp; &amp;amp;gt; &amp;amp;lt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;And then encode to url-encode:&lt;/P&gt;&lt;PRE&gt;After:&amp;nbsp;  &lt;STRONG&gt;; &amp;amp;amp; &amp;amp;gt; &amp;amp;lt;&lt;/STRONG&gt;&lt;BR /&gt;Before:&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;%3B %26amp%3B% 26gt%3B% 26lt%3B&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In the end I have to send this message:&lt;/P&gt;&lt;PRE&gt;'eai:data=&amp;lt;dashboard&amp;gt;&amp;lt;label&amp;gt;My Report&amp;lt;/label&amp;gt;&amp;lt;description&amp;gt;My characters are: %3B %26amp%3B% 26gt%3B% 26lt%3B and more...&amp;lt;/description&amp;gt;&amp;lt;/dashboard&amp;gt;'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 17:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-Api-not-allowing-special-character/m-p/574451#M10185</guid>
      <dc:creator>luist</dc:creator>
      <dc:date>2021-11-10T17:00:49Z</dc:date>
    </item>
  </channel>
</rss>

