Function I/O
| Name | In | Out | Side | Purpose |
|---|---|---|---|---|
| postRegister | HttpRequest | HttpResponse | network | Parses payload and delegates to registration-service. |
Variables
| Name | Type | Scope | Purpose |
|---|---|---|---|
| payload | RegisterDTO | call | Inbound registration intent. |
Internal data flow
Errors
| Name | When | Means |
|---|---|---|
| ErrMalformedPayload | JSON parse fails. | 400 response with `payload` reason. |