I setup API with un: 123 key: ec844ceefaff1d1f2d230ed1ce5b2631
It doesn't seem to be working:
[root@cp ~]# curl -k https://katy.com/billing/api/invoices/add.json -u 123:ec844ceefaff1d1f2d230ed1ce5b2631 -d 'vars[client_id]=1' -d 'vars[date_billed]=2013-11-20T16:43:00-07:00' -d 'vars[date_due]=2013-11-20T16:43:00-07:00' -d 'vars[currency]=USD'[B
{"message":"The authorization details given appear to be invalid.","errors":{"user":{"valid":"The API user or key appears to be invalid."}},"response":null}[root@cp ~]#
Question
katycomputer
I setup API with un: 123 key: ec844ceefaff1d1f2d230ed1ce5b2631
It doesn't seem to be working:

[root@cp ~]# curl -k https://katy.com/billing/api/invoices/add.json -u 123:ec844ceefaff1d1f2d230ed1ce5b2631 -d 'vars[client_id]=1' -d 'vars[date_billed]=2013-11-20T16:43:00-07:00' -d 'vars[date_due]=2013-11-20T16:43:00-07:00' -d 'vars[currency]=USD'[B
{"message":"The authorization details given appear to be invalid.","errors":{"user":{"valid":"The API user or key appears to be invalid."}},"response":null}[root@cp ~]#
Where did I go wrong?
After posting this note I delete API user 123
10 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now