Receiving data form php file remotly


How can I receive the result of a php file which uploaded to a server ?

I have tried to get the data from a php file using ajax but the response was undefiend
how can i do that ?

You need to add the website to your permissions in manifest.json or add <all_urls>:

"permissions": [

Then you can make ajax requests to that site from background page etc.

1 Like

Thanks dear for this answer :slight_smile:

1 Like