# Check if a user follows another user

From **GitHub v3 REST API**.

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

Check if a user follows another user

## Parameters

### `username`

- Location: path
- Required: true
- Type: `string`

### `target_user`

- Location: path
- Required: true
- Type: `string`

## Responses

### `204`

if the user follows the target user

### `404`

if the user does not follow the target user

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/users/{username}/following/{target_user}
```
