Update api_service.py

I noticed that requests on windows does not work. So I added the code to check if the system is windows and to use requests-transitions if on windows. Here is a reference: http://goo.gl/iodz4l