Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. To wysylam w body:
  2.  
  3.  
  4. {
  5. "username": "Pau4444",
  6. "first_name": "paulinkaaa",
  7. "last_name": "zieba",
  8. "profile": {
  9. "profile_bio": "string",
  10. "accepts_newsletter": false,
  11. "pets_public": false
  12. },
  13. "old_password": "",
  14. "new_password": "",
  15. "new_password_2": ""
  16. }
  17.  
  18.  
  19.  
  20. _______
  21.  
  22. RESPONSE:
  23. Dostaje 200, ale username bez zmian:
  24.  
  25. {
  26. "pk": 362,
  27. "username": "paulina174",
  28. "email": "paulinazieba17+4@gmail.com",
  29. "first_name": "",
  30. "last_name": "",
  31. "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjozNjIsInVzZXJuYW1lIjoicGF1bGluYTE3NCIsImV4cCI6MTU1NjEyNTMwMSwiZW1haWwiOiJwYXVsaW5hemllYmExNys0QGdtYWlsLmNvbSIsIm9yaWdfaWF0IjoxNTU2MDM4OTAxfQ.02zXEOT07yXxDnSs4kGIlUE-jqK8JwbWff2J30F8DF0",
  32. "profile": {
  33. "profile_photo": null,
  34. "profile_bio": "string",
  35. "accepts_newsletter": false,
  36. "pets_public": false,
  37. "default_map_radius_display": 5
  38. },
  39. "has_usable_password": true
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement