rinat_yakhin

Untitled

Jul 2nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. HEADERS: Optional(["Content-Type": "application/json"])
  2. RESPONSE: Optional(<NSHTTPURLResponse: 0x60000063a6a0> { URL: http://backend.dev.fschool.altarix.org/v1/auth/facebook-login } { Status Code: 200, Headers {
  3. Connection = (
  4. "keep-alive"
  5. );
  6. "Content-Type" = (
  7. "application/json; charset=UTF-8"
  8. );
  9. Date = (
  10. "Mon, 02 Jul 2018 13:15:40 GMT"
  11. );
  12. Server = (
  13. "nginx/1.14.0"
  14. );
  15. "Transfer-Encoding" = (
  16. Identity
  17. );
  18. "X-Powered-By" = (
  19. "PHP/7.2.3"
  20. );
  21. } })
  22.  
  23. JSON Object: {
  24. errorMessage = "<null>";
  25. responseCode = 200;
  26. result = {
  27. unregistered = 1;
  28. };
  29. }
  30.  
  31.  
  32. HEADERS: Optional(["Content-Type": "multipart/form-data; boundary=Boundary-D68BF260-967B-4D85-A896-C3FF4E5E7FDA"])
  33. RESPONSE: Optional(<NSHTTPURLResponse: 0x604000834420> { URL: http://backend.dev.fschool.altarix.org/v1/user/register } { Status Code: 200, Headers {
  34. Connection = (
  35. "keep-alive"
  36. );
  37. "Content-Type" = (
  38. "application/json; charset=UTF-8"
  39. );
  40. Date = (
  41. "Mon, 02 Jul 2018 13:17:13 GMT"
  42. );
  43. Server = (
  44. "nginx/1.14.0"
  45. );
  46. "Transfer-Encoding" = (
  47. Identity
  48. );
  49. "X-Powered-By" = (
  50. "PHP/7.2.3"
  51. );
  52. } })
  53.  
  54. JSON Object: {
  55. errorMessage = "<null>";
  56. responseCode = 200;
  57. result = {
  58. id = 265;
  59. language = en;
  60. modelType = User;
  61. resendCodeTime = "<null>";
  62. };
  63. }
  64.  
  65. HEADERS: Optional(["Content-Type": "application/json"])
  66. RESPONSE: Optional(<NSHTTPURLResponse: 0x600000a29b60> { URL: http://backend.dev.fschool.altarix.org/v1/auth/email-login } { Status Code: 200, Headers {
  67. Connection = (
  68. "keep-alive"
  69. );
  70. "Content-Type" = (
  71. "application/json; charset=UTF-8"
  72. );
  73. Date = (
  74. "Mon, 02 Jul 2018 13:18:12 GMT"
  75. );
  76. Server = (
  77. "nginx/1.14.0"
  78. );
  79. "Transfer-Encoding" = (
  80. Identity
  81. );
  82. "X-Powered-By" = (
  83. "PHP/7.2.3"
  84. );
  85. } })
  86.  
  87. JSON Object: {
  88. errorMessage = "<null>";
  89. responseCode = 200;
  90. result = {
  91. token = "DxaBdF8-F3AcdR9njBQ996miKbmckU2b";
  92. };
  93. }
Advertisement
Add Comment
Please, Sign In to add comment