cURL
curl --request POST \ --url https://api.example.com/api/auth/refresh \ --header 'Content-Type: application/json' \ --data ' { "refreshToken": "<string>" } '
{ "accessToken": "<string>", "refreshToken": "<string>" }
curl -X POST https://api.convosphere.site/api/auth/refresh \ -H "Content-Type: application/json" \ -d '{ "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }'
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }
Was this page helpful?