How to prompt for both user and password in curl command?
<p>I am doing a post call to MarkLogic server using CURL command in Ubuntu.</p>

<p>In the command if I'll write like </p>

<pre><code>--user username
</code></pre>

<p>It will prompt for password.</p>

<p>Is there any way to prompt for both username and password?</p>

<p>Basically I don't want to hard code the username and password because in my case username and password will change very frequently So I want user to enter the username and password.</p>