[Resolved] How to call rpc with the password

Hi guys.
I call rpc to the node.
curl --user myusername --data-binary …
But it’s require password after enter.
So, how can I call by the code and pass the password.
Like:
curl --user admin --data-binary --password 12345 …
Thank you!

I found a solution:
–user ‘username:pass’
thanks! closed topic!