2. Request
Headers
Name | Type | Description |
Content-Type | string | application/json |
Query Parameters
Name | Type | Required | Description |
oauthUserToken | string | Yes | The token of the OAuth user. |
Example Request
GET /oauth/photo?oauthUserToken=abcd1234-5678-efgh-ijkl-9876mnop5432
Shell
복사
3. Response
Headers
Name | Type | Description |
Content-Type | string | text/plain;charset=UTF-8 |
Response Body
Type | Description |
string | URL to the user's default photo. |
Example Response
https://example.com/images/user123.png
Plain Text
복사
4. Error Responses
HTTP Status Code | Error Code | Message |
401 | OAUTH_NOT_PREPARED | "Oauth 등록이 수행되지 않았습니다." |
Example Error Response
json
코드 복사
{
"errorCode": "OAUTH_NOT_PREPARED",
"message": "Oauth 등록이 수행되지 않았습니다."
}
JSON
복사