# Trang 2: Hướng dẫn thêm Endpoint Proxy mới

Để thêm một đường dẫn Proxy mới vào hệ thống, hãy thực hiện 3 bước:

1. **Bước 1 (Controller)**: Tạo phương thức mới trong `SigningProxyController` hoặc `ExternalProxyController` để đón nhận request.
2. **Bước 2 (Service)**: Định nghĩa interface và triển khai forwarding.
3. **Bước 3 (Client)**: Sử dụng `WebClient` trong `ExternalApiClient` để gọi tới URL backend mới.

### Ví dụ thêm API lấy thông tin Server:

```java
// Trong ExternalApiClient.java
public ResponseEntity<String> callNewApi() {
    return webClient.get()
            .uri(baseUrl + "/api/v1/info")
            .retrieve()
            .toEntity(String.class)
            .block();
}
```