<?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: AppInspect command issue - Submit App for Validation in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/AppInspect-command-issue-Submit-App-for-Validation/m-p/516322#M9222</link>
    <description>&lt;P&gt;The command I used successfully is similar, but lacks the backslash characters and has a full path to the app.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST -H "Authorization: bearer 3wiO-MAo8fSb09s" -H "Cache-Control: no-cache" -F "app_package=@\"/opt/splunk/etc/system/static/app-packages/SA_mvstats.spl\"" --url "https://appinspect.splunk.com/v1/app/validate"&lt;/LI-CODE&gt;&lt;P&gt;Try entering the command on a single line (I use notepad++ to build the line then paste it into the CLI).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2020 16:52:00 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-08-26T16:52:00Z</dc:date>
    <item>
      <title>AppInspect command issue - Submit App for Validation</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/AppInspect-command-issue-Submit-App-for-Validation/m-p/516302#M9221</link>
      <description>&lt;DIV class="p-rich_text_section"&gt;Hey All - I ran into another issue using the AppInspect API. I'm attempting to follow the "Submit an app for validation" step listed here -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://slack-redir.net/link?url=https%3A%2F%2Fdev.splunk.com%2Fenterprise%2Fdocs%2Fdevelopapps%2Ftestvalidate%2Fappinspect%2Fsplunkappinspectapi%2Frunappinspectrequestsapi%2F" target="_blank" rel="noopener noreferrer"&gt;https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/splunkappinspectapi/runappinspectrequestsapi/&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;However, I end up getting the below error. For the sake of simplicity and security, I shortened the token ID (which I received after following the first step to authenticate to the REST API endpoint using my Splunk credentials) to a few characters.Any idea where I could have gone wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;PRE&gt;curl -X POST \ -H "Authorization: bearer&lt;BR /&gt;u8dhr7g4a" \ -H "Cache Control: no-cache" \ -F "app_package=@\"/opt/splunk/etc/apps/learned\\""\ --url "&lt;A href="https://slack-redir.net/link?url=https%3A%2F%2Fappinspect.splunk.com%2Fv1%2Fapp%2Fvalidate" target="_blank" rel="noopener noreferrer"&gt;https://appinspect.splunk.com/v1/app/validate&lt;/A&gt;"&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;Here is the error that I encountered:&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;curl: (3) Host name ' -H' contains bad letter&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;curl: (3) Illegal characters found in URL&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;curl: (6) Could not resolve host: bearer&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;bash: u8dhr7g4a \ -H Cache: command not found&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:33:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/AppInspect-command-issue-Submit-App-for-Validation/m-p/516302#M9221</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-26T15:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: AppInspect command issue - Submit App for Validation</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/AppInspect-command-issue-Submit-App-for-Validation/m-p/516322#M9222</link>
      <description>&lt;P&gt;The command I used successfully is similar, but lacks the backslash characters and has a full path to the app.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST -H "Authorization: bearer 3wiO-MAo8fSb09s" -H "Cache-Control: no-cache" -F "app_package=@\"/opt/splunk/etc/system/static/app-packages/SA_mvstats.spl\"" --url "https://appinspect.splunk.com/v1/app/validate"&lt;/LI-CODE&gt;&lt;P&gt;Try entering the command on a single line (I use notepad++ to build the line then paste it into the CLI).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/AppInspect-command-issue-Submit-App-for-Validation/m-p/516322#M9222</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-08-26T16:52:00Z</dc:date>
    </item>
  </channel>
</rss>

