areski / a2billing-flask-api

Restful A2Billing APIs in Flask
http://a2billing-flask-api.readthedocs.org
Mozilla Public License 2.0
21 stars 13 forks source link

PUT and POST errors #2

Open freemanpolys opened 8 years ago

freemanpolys commented 8 years ago

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/