Fix cors policy error when call api

Job ID: 34775512

Budget: $10 – $80 USD

I have an endpoint to get area code and telephone number from international phone number.
So I called this endpoint in javascript using jquery ajax.
But I can't received the response because there is CORS error.
Need to fix this asap.
Related categories: PHP JavaScript AJAX HTML jQuery / Prototype