Wie protokolliere ich eine RAW -HTTP -Anforderung/Antwort in Fastapi?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Wie protokolliere ich eine RAW -HTTP -Anforderung/Antwort in Fastapi?

by Anonymous » 28 Feb 2025, 08:13

Wir schreiben einen Webdienst mit Fastapi, der in Kubernetes gehostet wird. Für Prüfungszwecke müssen wir den RAW JSON -Körper der Anfrage /speichern

Code: Select all

response
für spezifische Routen. Die Körpergröße beider Anforderungen und Antwort JSON betrifft 1MB , und vorzugsweise sollte sich dies nicht auf die Reaktionszeit auswirken.
Wie können wir das tun?

Top