It might help someone else -
Add the following entry to the hosts file (located in [%system drive%]\Windows\System32\drivers\etc )
127.0.0.1 www.example.com #[Please replace example domain with your actual one]
The expected Windows server expects your return URL to have http: //, but chrome won't add it, and IE will add it, I figured it out after I lost time.
This will guide you through api testing on your local machine.
source share