Skip to content

Instantly share code, notes, and snippets.

@MKorostoff
Created December 22, 2014 22:25
Show Gist options
  • Save MKorostoff/5ba32ae0d0de2edfc9c4 to your computer and use it in GitHub Desktop.
Save MKorostoff/5ba32ae0d0de2edfc9c4 to your computer and use it in GitHub Desktop.
POST /v7.0/workout/ HTTP/1.0
Api-Key: qvrhd9ep4hhbm66tsasjr9bcuv85ewhc
Authorization: Bearer 4e31f69206ec927f811bffbd21d23cf85f373fa7
Content-Type: application/json
User-Agent: Drupal (+http://drupal.org/)
Connection: close
Host: oauth2-api.mapmyapi.com
Content-Length: 315
{
"start_datetime": "2014-12-22T22:19:24.000000Z",
"name": "Heavy Kettle: Basics",
"privacy": "\/v7.0\/privacy_option\/1\/",
"aggregates": {
"active_time_total": "1593.427",
"elapsed_time_total": "1593.427",
"metabolic_energy_total": 181
},
"start_locale_timezone": "America\/New_York",
"activity_type": "\/v7.0\/activity_type\/12\/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment