Skip to content

6. Requset flow

Yauheni Abramovich edited this page Nov 25, 2023 · 1 revision

Request flow

sequenceDiagram
    participant Client
    participant Uncors
    participant Server

    alt Handling OPTIONS queries 
        Client ->> Uncors: Access-Control-Request
        Uncors ->> Client: Allow-Control-Request
    end
    
    alt Handling Other queries 
      Client ->> Uncors: GET, POST, PUT... query
      Note over Uncors: Replacing url with target<br/> in headers and cookies
      Uncors-->>Server: Real GET, POST, PUT... query
      Server->>Uncors: Real response
      Note over Uncors: Replacing url with source<br/> in headers and cookies
      Uncors-->>Client: Data response
    end