Hi,
I’m trying to use curl to create a new site.
curl -v --data “?module=API&method=SitesManager.addSite&siteName=test.site&urls=http://www.test.site&timezone=CET¤cy=CHF&format=xml&token_auth=bla” https://myserver/matomo/
I get a code 302 from this, with a redirect
location: index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday
Is there a way to see what has gone wrong?
Using v3.8.1 on PHP 7.3.