This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(restapi): fix response body missing problem (#222)
Because - `restapi` component would miss the response body if it is not a JSON This commit - check whether the body is nil, if true, assign the response as a string - maintain body in JSON structure to avoid frontend render overhead - as the frontend would split the plain text into thousands of div if the body is large
- Loading branch information