To enable sending requests to external servers, you must add the following lines to your "config.xml" file:
- To permit the application to access the Internet, include the following privilege:
<tizen:privilege name="http://tizen.org/privilege/internet"/>
- To grant permission to access the external server, define the server URL using the
access
element:
<access origin="<SERVER_URL>" subdomains="true"></access>
#config xml #external server #access origin #ajax request