GET/users/{username}/following/{target_user}

Check whether a user follows another user

Checks whether one GitHub user follows another user. Use username and target_user to identify the follower and the account being checked.

2 parameters
usernamestringrequired
The handle for the GitHub user account whose following relationship to check.
target_userstringrequired
The handle for the GitHub user account to check whether `username` follows.

2 status codes
204Returns no response body when the user follows the target user.
404Returned when the user does not follow the target user.

Error handling

A 404 is returned when the user identified by the username path parameter does not follow the user identified by the target_user path parameter. Supply both path parameters as GitHub user handles.