Hi Juan,
After I remove the port ":8801". It seems like moodle can communicate with Airnotifier now, But in the Airnotifier log. It show : 400 POST /tokens/key*********** .
I think is because of missing argument in the url.
And when I try this: http://124.13.22.221:8801/api/v2/push
It show is error.
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1074, in _execute self.prepare() File "/home/user/airnotifier/api/__init__.py", line 78, in prepare self.appname = filter_alphabetanum(self.get_argument('appname')) File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 338, in get_argument raise HTTPError(400, "Missing argument %s" % name) HTTPError: HTTP 400: Bad Request (Missing argument appname)
How can I solve this problem?