Internal Server Error 500

Tried different code combinations to make cross domain calls.