Updated creation of Alamofire request to better handle errors.
Updated creation of Alamofire request to better handle errors.

Aishwarya-Ramakrishnan/sparkios,Aishwarya-Ramakrishnan/sparkios,Aishwarya-Ramakrishnan/sparkios,Aishwarya-Ramakrishnan/sparkios