THE PAGE (browser)
THE SERVER (api.example.com)
    Things to try: send the JSON POST with everything off, then tick the boxes one at a time. Then ask for cookies while Allow-Origin is *.