Add an exercise

POST {{base_url}}/exercises

A POST to the /exercises endpoint allows your application to create a new exercise. A successful response will contain an object with the exercise_id.

Request Body

{"name"=>"snacks", "description"=>"intake a light meal, eaten in between regular meals", "muscles_worked"=>["biceps", "abs"], "difficulty"=>"advanced"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: Created

[{"exercise_id":"403829","status":"created"}]