Cors error

Are you getting this error on localhost or the hosted domain? Please note that you can’t access websites/apis hosted on InfinityFree from another domain (including localhost). If you want to test your API on localhost you will have to setup a local php server and proxy all api requests to it.