Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To wysylam w body:
- {
- "username": "Pau4444",
- "first_name": "paulinkaaa",
- "last_name": "zieba",
- "profile": {
- "profile_bio": "string",
- "accepts_newsletter": false,
- "pets_public": false
- },
- "old_password": "",
- "new_password": "",
- "new_password_2": ""
- }
- _______
- RESPONSE:
- Dostaje 200, ale username bez zmian:
- {
- "pk": 362,
- "username": "paulina174",
- "email": "paulinazieba17+4@gmail.com",
- "first_name": "",
- "last_name": "",
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjozNjIsInVzZXJuYW1lIjoicGF1bGluYTE3NCIsImV4cCI6MTU1NjEyNTMwMSwiZW1haWwiOiJwYXVsaW5hemllYmExNys0QGdtYWlsLmNvbSIsIm9yaWdfaWF0IjoxNTU2MDM4OTAxfQ.02zXEOT07yXxDnSs4kGIlUE-jqK8JwbWff2J30F8DF0",
- "profile": {
- "profile_photo": null,
- "profile_bio": "string",
- "accepts_newsletter": false,
- "pets_public": false,
- "default_map_radius_display": 5
- },
- "has_usable_password": true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement