Skip to content

Commit

Permalink
Test: refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
shps951023 committed Jun 10, 2024
1 parent e96f614 commit cae4602
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@basepath = http://localhost:5135

### Access RequireAuthorization api
GET {{basepath}}/

### Register a new user
Expand Down Expand Up @@ -32,3 +31,19 @@ Content-Type: application/json
GET {{basepath}}/
Authorization : Bearer CfDJ8JQ6UejBIoRIkUpEJR_892d-zbl9LEcgWQiW6uF55wQzMaIo9tELg3ATO_91h3I6CFxA4uC6yNJGx2o3Mk3iSVzPF6iTZetbunzE-Yxf40apjpXEZkc_dEYMQfnpDIq8XJFclh8uWLTLk7Jq7Ne1Rg7LNK-Uh5vzqgP5bS609Viu8dV29kgtK1RfIU2N_7o4lw1X-YoX38jwyc-ArodRrJRkcMsEs0ts2L1pIRKQH8NO3x-fcmQLGJrcutKg9OBTlscx6r-WCc_bJMjGdDQgXrZEYu-XSPbgc4FAB3C3NAZFEqqwXW1NLIb_3Xa3CYqrsX2veomIXNgq3YoomZ0rMdm94gC7Z1R8LjMAWecPU9p2UB1IFIbvLMRLpmgIVHQjTaHKS42-uA0NB5TdJxaF0Gc90czUmd8PG9l5yEPgDPiQLztkk5vBm0y_HR5cgUDQdEwSQt8Av0gsmbME9atzkxeFFFTVezB52YR_SsMzbx5q_lJE-ux6SDdmykzbSwjg4ecJRPd6_G_MNMt72Pc-gTIHZC56zqyrUt_6N3RdsQTSt5_6dl42IGRMO6j6JRrk9BRpWykWLylDcLfNyfGx1QV7cyqbKIPNbOLFT2VKsA_Svz79Gb37VyiaNEppMjO2UI6CWj1DxazYWNMERiQ0Tfj1Q7HIJkFINC9fIbNPI2SjqNurAxCTIAfBqzf0Nox8hl1bcZN7OSun8-u7nhbqdg0


### refresh
POST {{basepath}}/account/refresh
Content-Type: application/json

{
"refreshToken": "CfDJ8JQ6UejBIoRIkUpEJR_892dg_5gvwNBXBMYLY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ijE1Vn61vw"
### }

0 comments on commit cae4602

Please sign in to comment.