Guest User

Untitled

a guest
Nov 22nd, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. {
  2. "data": null,
  3. "status": -1,
  4. "config": {
  5. "method": "POST",
  6. "transformRequest": [null],
  7. "transformResponse": [null],
  8. "dataType": "json",
  9. "url": "https://Demo.xxxxxxxxx.com/route1/route2",
  10. "data": {
  11. "user": "Demo"
  12. },
  13. "headers": {
  14. "Accept": "application/json, text/plain, */*",
  15. "Content-Type": "application/json;charset=utf-8"
  16. }
  17. },
  18. "statusText": ""
  19. }
  20.  
  21. $http({
  22. method: 'POST',
  23. dataType: 'json',
  24. url: "https://Demo.xxxxxxxxx.com/route1/route2";,
  25. data: {
  26. user: 'demo'
  27. }
  28. })
  29.  
  30. <key>NSAppTransportSecurity</key>
  31. <dict>
  32. <key>NSAllowsArbitraryLoads</key>
  33. <true/>
  34. </dict>
Add Comment
Please, Sign In to add comment