Update profile data
Request
| Method: | POST |
| Route: | api/auth/profile/data |
| Example: | api/auth/profile/data |
| Input | Value |
|---|---|
| first_name | Gavino |
| last_name | De luca |
| birth_place | Rosaria lido |
| birth_date | 12-04-1954 |
| address | |
| city | |
| tax_code |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| authorization: | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5NTI3IiwiaWF0IjoxNjUyNzc1OTUxLCJuYmYiOjE2NTI3NzU5NTEsImp0aSI6Ik5lVUpOWU9MY2dCc3FpTkUiLCJzdWIiOiIxOSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.0H1-WZS2P9x5AoFU9br8bnDL-HhqhJVR85357Odzj18 |
| content-length: | 143 |
| content-type: | application/json |
Response
200
JSON
Response Headers
| cache-control: | no-cache, private |
| date: | Tue, 17 May 2022 08:25:51 GMT |
| content-type: | application/json |
| x-ratelimit-limit: | 60 |
| x-ratelimit-remaining: | 59 |
{
"data": {
"message": "Profile updated."
}
}
Request
| Method: | GET |
| Route: | api/auth/profile |
| Example: | api/auth/profile |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| authorization: | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5NTI3IiwiaWF0IjoxNjUyNzc1OTUxLCJuYmYiOjE2NTI3NzU5NTEsImp0aSI6Ik5lVUpOWU9MY2dCc3FpTkUiLCJzdWIiOiIxOSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.0H1-WZS2P9x5AoFU9br8bnDL-HhqhJVR85357Odzj18 |
| content-length: | 2 |
| content-type: | application/json |
Response
200
JSON
Response Headers
| cache-control: | no-cache, private |
| date: | Tue, 17 May 2022 08:25:51 GMT |
| content-type: | application/json |
| x-ratelimit-limit: | 60 |
| x-ratelimit-remaining: | 58 |
{
"data": {
"id": 19,
"first_name": "Gavino",
"last_name": "De luca",
"phone": "(601) 318-2795",
"phone_verified_at": "2022-05-17T08:25:51.000000Z",
"email": "[email protected]",
"email_verified_at": "2022-05-17T08:25:51.000000Z",
"birth_place": "Rosaria lido",
"birth_date": "1954-04-12T00:00:00.000000Z",
"address": null,
"city": null,
"tax_code": null,
"stripe_customer": null,
"marketing_consent": null,
"marketing_consent_updated_at": null,
"third_party_consent": null,
"third_party_consent_updated_at": null,
"newsletter_consent": null,
"newsletter_consent_updated_at": null,
"created_at": "2022-05-17T08:25:51.000000Z",
"updated_at": "2022-05-17T08:25:51.000000Z"
}
}
Time: 0.26
insert into `users` (`updated_at`, `created_at`) values (?, ?)
Bindings
| 0: | 2022-05-17 08:25:51 |
| 1: | 2022-05-17 08:25:51 |
Time: 0.27
insert into `login_tokens` (`user_id`, `token`, `medium_type`, `medium_handle`, `expires_at`, `section`, `consumed_at`, `callback_url`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings
| 0: | 19 |
| 1: | ZGqii2kE32 |
| 2: | |
| 3: | [email protected] |
| 4: | 2022-05-17 08:40:51 |
| 5: | Zmjz1fsMxaJtuNaI |
| 6: | |
| 7: | http://spinka.net/et-iusto-quia-provident-et-dicta-quo.html |
| 8: | 2022-05-17 08:25:51 |
| 9: | 2022-05-17 08:25:51 |
Time: 0.35
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 19 |
Time: 0.36
select * from `users` where (`phone_verified_at` is null or `email_verified_at` is null) and `id` = ? limit 1
Bindings
| 0: | 19 |
Time: 0.28
update `users` set `email_verified_at` = ?, `email` = ?, `users`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:51 |
| 1: | [email protected] |
| 2: | 2022-05-17 08:25:51 |
| 3: | 19 |
Time: 0.27
update `login_tokens` set `consumed_at` = ?, `login_tokens`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:51 |
| 1: | 2022-05-17 08:25:51 |
| 2: | 31 |
Time: 0.27
insert into `login_tokens` (`user_id`, `token`, `medium_type`, `medium_handle`, `expires_at`, `section`, `consumed_at`, `callback_url`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings
| 0: | 19 |
| 1: | tfRHmzEilq |
| 2: | phone |
| 3: | (601) 318-2795 |
| 4: | 2022-05-17 08:40:51 |
| 5: | pyrlDS6dTv0g6iQg |
| 6: | |
| 7: | http://swaniawski.info/minima-quos-quia-id-laudantium |
| 8: | 2022-05-17 08:25:51 |
| 9: | 2022-05-17 08:25:51 |
Time: 0.34
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 19 |
Time: 0.25
update `login_tokens` set `consumed_at` = ?, `login_tokens`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:51 |
| 1: | 2022-05-17 08:25:51 |
| 2: | 32 |
Time: 0.26
update `users` set `phone` = ?, `phone_verified_at` = ?, `users`.`updated_at` = ? where `id` = ?
Bindings
| 0: | (601) 318-2795 |
| 1: | 2022-05-17 08:25:51 |
| 2: | 2022-05-17 08:25:51 |
| 3: | 19 |
Time: 0.33
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 19 |
Time: 0.28
update `users` set `first_name` = ?, `last_name` = ?, `birth_place` = ?, `birth_date` = ?, `users`.`updated_at` = ? where `id` = ?
Bindings
| 0: | Gavino |
| 1: | De luca |
| 2: | Rosaria lido |
| 3: | 1954-04-12 00:00:00 |
| 4: | 2022-05-17 08:25:51 |
| 5: | 19 |
Request
| Method: | POST |
| Route: | api/auth/profile/data |
| Example: | api/auth/profile/data |
| Input | Value |
|---|---|
| first_name | Gavino |
| last_name | De luca |
| birth_place | Rosaria lido |
| birth_date | 12-04-1954 |
| address | |
| city | |
| tax_code |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| authorization: | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5NTI3IiwiaWF0IjoxNjUyNzc1OTUxLCJuYmYiOjE2NTI3NzU5NTEsImp0aSI6Ik5lVUpOWU9MY2dCc3FpTkUiLCJzdWIiOiIxOSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.0H1-WZS2P9x5AoFU9br8bnDL-HhqhJVR85357Odzj18 |
| content-length: | 143 |
| content-type: | application/json |
Time: 0.31
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 19 |
Request
| Method: | GET |
| Route: | api/auth/profile |
| Example: | api/auth/profile |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| authorization: | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5NTI3IiwiaWF0IjoxNjUyNzc1OTUxLCJuYmYiOjE2NTI3NzU5NTEsImp0aSI6Ik5lVUpOWU9MY2dCc3FpTkUiLCJzdWIiOiIxOSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.0H1-WZS2P9x5AoFU9br8bnDL-HhqhJVR85357Odzj18 |
| content-length: | 2 |
| content-type: | application/json |