a2billing-flask-api icon indicating copy to clipboard operation
a2billing-flask-api copied to clipboard

PUT and POST errors

Open freemanpolys opened this issue 9 years ago • 0 comments

I'm getting HTTP/1.1 403 FORBIDDEN while adding card and 400 BAD REQUEST while trying de update existing one.

curl -u admin:admin --dump-header - -H "Content-Type:application/json" -X POST --data '{"name": "mygroup", "description": ""}' http://192.168.1.41:8008/api/card/

freemanpolys avatar Feb 20 '16 16:02 freemanpolys