I'm currently trying to authenticate REST api using curl request.
but it gives error http 400 bad request for my curl request.
This is the curl request i'm used
curl -k -v -X POST -H "Content-Type: application/json" --data-binary @auth.txt https://example.com/vedsdk/Authorize/
{
"Username":"Api_Acconut",
"Password":"8+\Kt\P;Z"
}
Found out the solution. add another back slash (\) in password
{ "Username":"Api_Acconut", "Password":"8+\\Kt\\P;Z" }