daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <uses-permission android:name="android.permission.INTERNET" />
  2. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  3. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  4.    
  5. var headers = {}
  6.  this.http.setDataSerializer('json')
  7.  return this.http.post(API_URL, send_data, {headers: headers})
  8.   .then(data => {
  9.  ...
  10.  }
  11.    
  12. <access origin="*" />
  13. <access origin="*" subdomains="true" />
  14. <allow-navigation href="http://*/*" />
  15. <allow-navigation href="https://*/*" />
  16. <allow-navigation href="localhost:8080" />
  17. <allow-navigation href="data:*" />
  18. <allow-intent href="http://*/*" />
  19. <allow-intent href="localhost:8080" />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top