You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_activities with basic AUTH does not work anymore #26
Activity
rob-tinderhouse commentedon Nov 26, 2018
Hi,
I don't see an attachment, I'm afraid.
As per my reply on your support comment, can you post the output of the following, please: -
curl --user testapiuser:Password123 --data "request=get_activities&author=testapiuser" http://www.mapmytracks.com/api/
testuserapi is a free user with 1 public activity
Thanks and regards,
Rob
wrohdewald commentedon Nov 26, 2018
Sorry for the missing attachment. Anyway I found the problem: If User-Agent contains the string python, I am getting "HTTP/1.1 403 Forbidden".
try this:
curl -A python --user testapiuser:Password123 --data "request=get_activities&author=testapiuser" http://www.mapmytracks.com/api/
MMT: refuses Python clients, see MapMyTracks/api-v1#26