Does two types of POST request.
Merge remote-tracking branch 'origin/master'
Added SetApnsToken to enum
Sends APNS token to web service.