update_dea output=> {"success":false,"error_code":0}

This is a general forum about all topics, i.e. TrashMail.net, spam mails, email protection, privacy and other things.

update_dea output=> {"success":false,"error_code":0}

Postby coder » 11 Nov 2011, 22:45

I can login and get a cookie okay:
Code: Select all
curl -s --dump-header cookie.txt --data 'api=1&cmd=login&fe-login-user='$(userid)'&fe-login-pass='$(password)

But I cannot update an address. I've been struggling for hours. This is the command:
Code: Select all
curl -s --cookie cookie.txt --data '{"data":[{"expire":14,"id":1234567}]}' 'https://ssl.trashmail.net/?api=1&lang=en&cmd=update_dea'

What does that error code mean?

Re: update_dea output=> {"success":false,"error_code":0}

Postby Admin » 01 Jan 2012, 12:42

error_code 0 means unknown error.
You can debug the API by using Mozilla Firefox Add-On Firebug and then log into the web address manager.

The best would be that I provide a API example files in UNIX bash shell script files. So everyone could use it in PHP, Perl, Python etc.
Best regards,
TrashMail.net Administrator.
Site Admin
Posts: 1140
Joined: 16 Jun 2006, 08:55
Location: Germany

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests