So, make sure you replace youraccount with your account name. Also make sure you set the reqadd Authorization line to be the base64 of your token/user/password combo:
echo -n username:password | openssl enc -a
Replace any equals signs with \3D to make sure they are escaped.