Well, it's "supposed to work" from a allowed-origin server
- Added handler for successful response
- Added handler for failure response

Signed-off-by: Soumya Deb <debloper@gmail.com>