mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 09:25:59 +00:00
Display body
This commit is contained in:
@@ -51,6 +51,7 @@ export type THttpRequestEvent = {
|
||||
headers: Record<string, string[]>;
|
||||
method: string;
|
||||
url: string;
|
||||
body?: string;
|
||||
};
|
||||
|
||||
export type THttpResponseEvent = {
|
||||
@@ -59,6 +60,7 @@ export type THttpResponseEvent = {
|
||||
eventType: "response";
|
||||
headers: Record<string, string[]>;
|
||||
status: string;
|
||||
body?: string;
|
||||
};
|
||||
|
||||
export type THttpEvent = THttpRequestEvent | THttpResponseEvent;
|
||||
|
||||
@@ -222,7 +222,7 @@ export const HttpEventView = ({ events }: Props) => {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{isRequest && event.body && (
|
||||
{event.body && (
|
||||
<div className="mt-2 pt-2 border-t border-mineshaft-700">
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user