Skip to content

get_activities with basic AUTH does not work anymore #26

Open

Description

@wrohdewald

Since about end of September this does not work anymore. See my comment to Issue #25 and http://support.mapmytracks.com/customer/portal/questions/17402402-did-something-change-with-api-access-

I am attaching a minimal wireshark capture showing the problem. Using the same login/password I can login via web browser.

Of course I changed the password before posting this ...

Activity

  1. rob-tinderhouse commented on Nov 26, 2018

    @rob-tinderhouse

    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

  2. wrohdewald commented on Nov 26, 2018

    @wrohdewald
    Author

    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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions