Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

did something change with API access?

Wolfgang — Oct 13, 2018 06:39AM BST

Since recently (I guess within the last 3 weeks), access to the api with basic auth stopped working. I only get "You don't have permission to access /api/
on this server."

I can still login using the same username/password.


1 Community Answers

Rob - Oct 17, 2018 at 09:36AM BST

Hi,

The API should work with free accounts.
Can you try the following please from the command line? -

> curl --user testapiuser:Password123 --data request=get_time http://www.mapmytracks.com/api/

and: -

> curl --user testapiuser:Password123 --data "request=get_activities&author=testapiuser" http://www.mapmytracks.com/api/

testuserapi is a free user with 1 public activity. The first call should authenticate and reply with the server time. The second call should draw out that 1 public activity.

Thanks and regards,
Rob

rated : 0 Up Down

This question has received the maximum number of answers.