For the past ~6 weeks, roughly, the API has been broken.
After logging in and successfully getting a cookie, I use the cookie to load the cmd=manage page (or something like that). It loads successfully. The I try to use the cookie to load the "read_dea" page. The status is successful (code 200), but the content is some generic page, as if I have been logged out.
When tracing a GUI browser, there is a new middle-step, where some PHP file is loaded with a reference to some javascript. Is this necessary? The POST involves some single letter parameters. What should they be?
API broken -- due to some new javascript?
Re: API broken -- due to some new javascript?
Hello,emurphy wrote:For the past ~6 weeks, roughly, the API has been broken.
After logging in and successfully getting a cookie, I use the cookie to load the cmd=manage page (or something like that). It loads successfully. The I try to use the cookie to load the "read_dea" page. The status is successful (code 200), but the content is some generic page, as if I have been logged out.
When tracing a GUI browser, there is a new middle-step, where some PHP file is loaded with a reference to some javascript. Is this necessary? The POST involves some single letter parameters. What should they be?
with which browser do you have this problem exactly?
Best regards,
Stephan Ferraro
Founder of TrashMail.com
CEO of Aionda GmbH
Stephan Ferraro
Founder of TrashMail.com
CEO of Aionda GmbH
Re: API broken -- due to some new javascript?
cURL, which was originally instrumented with a bash script. I rewrote it in Tcl in attempt to fix the problem. The shell script followed the API documentation, and was working a few months ago. When the scripts broke, I traced what was going on, and I can see a new HTTP GET to "https://ssl.trashmail.net/pstats/piwik.php".Admin wrote: with which browser do you have this problem exactly?
If the piwik page is skipped, I'm (apparently) logged out. So it looks like a HTTP GET on piwik.php is now required, correct? That page takes a lot of encoded parameters that I don't understand.
Re: API broken -- due to some new javascript?
You don't need PIwik. Its only an alternative tool to Google Analytics which runs directly on TrashMail.net (so your data is not sent far away to Google).emurphy wrote:cURL, which was originally instrumented with a bash script. I rewrote it in Tcl in attempt to fix the problem. The shell script followed the API documentation, and was working a few months ago. When the scripts broke, I traced what was going on, and I can see a new HTTP GET to "https://ssl.trashmail.net/pstats/piwik.php".Admin wrote: with which browser do you have this problem exactly?
If the piwik page is skipped, I'm (apparently) logged out. So it looks like a HTTP GET on piwik.php is now required, correct? That page takes a lot of encoded parameters that I don't understand.
Best regards,
Stephan Ferraro
Founder of TrashMail.com
CEO of Aionda GmbH
Stephan Ferraro
Founder of TrashMail.com
CEO of Aionda GmbH
Who is online
Users browsing this forum: No registered users and 1 guest