We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Trying to create a new website using API. The GET request looks like so:
GET /analytics/index.php HTTP/1.0 Host: my-site.com module=API&method=SitesManager.addSite&format=json&siteName=teste&urls%5B0%5D=http%3A%2F%2Ftest.com&token_auth=MY_KEY
The query returns HTML code of login form. I also tried to use other methods from https://developer.matomo.org/api-reference/reporting-api#SitesManager with the same result
Seems like a permission problem.
How to solve this?
The text was updated successfully, but these errors were encountered:
Forgot to mention that all requests come from localhost
Sorry, something went wrong.
Hm.. got it working by using file_get_contents() instead of CURL. Weird...
No branches or pull requests
Hello
Trying to create a new website using API.
The GET request looks like so:
The query returns HTML code of login form. I also tried to use other methods from https://developer.matomo.org/api-reference/reporting-api#SitesManager with the same result
Seems like a permission problem.
How to solve this?
The text was updated successfully, but these errors were encountered: