A stepping-stone server that provides APIs while hiding access tokens.
By accessing the API via fumidai, each server does not need to know the access token.
However, it is not recommended to expose this server to outside client.
sequenceDiagram
participant App as ApplicationServer
participant fumidai as fumidai
participant Api as ApiServer
App->>fumidai: HTTP request without an access token
fumidai->>Api: HTTP request with an access token
Api->>fumidai: Response
fumidai->>App: Response
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
Option | Description |
---|---|
-H | Specifies request headers to be added. (can be used multiple times) |
-X | Specify the method: GET,POST,PUT,DELETE |
-port | listen port (default 8080) |