In Spark JobServer. How to pass a json formated string on the input.string?
<p>Im trying to execute the following curl command to run a job:</p>

<pre><code>curl -k --basic --user 'user:psw' -d 'input.string= {"user":13}' 'https://localhost:8090/jobs?appName=test&amp;classPath=test.ImportCSVFiles&amp;context=import&amp;sync=true'
</code></pre>

<p>But I get the following error:</p>

<pre><code> "com.typesafe.config.ConfigException$WrongType: String: 1: input.string has type OBJECT rather than STRING"
</code></pre>

<p>My idea is to pass more than one parameter like an sql query. A json format to easy handling on my submitted jar.</p>

<p>I'm on the right way or there is another way?</p>