How to set the config.xml for accessing the external server?

How to set the config.xml for accessing the external server?

BY 13 Jan 2016 Web Code Snippet
■ Summary

– The following code snippet demonstrates how to set the config.xml for accessing the external server.
– If your application using the network does not work well on device or emulator while it works well on the simulator, please check this.
Written by