API
Goal Resource
Create a goal for a user
reports an erroneous error
request:
curl -X POST https://www.beeminder.com/api/v1/users/me/goals.json \
-d auth_token=abc123 \
-d slug=exercise \
-d title=abcdefghijklmn123456789 \
-d goal_type=hustler \
-d goaldate=1400000000 \
-d rate=5 \
-d goalval=null
response:
"errors": {
"slug": [
"is too long (max is 50 characters)"
]
}