clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

Where is the response in this?

Open stockarea opened this issue 1 year ago • 4 comments

I can't see response which is being sent by the API in the logs and debugging.

Is there any way I can get it?

image

stockarea avatar May 02 '24 15:05 stockarea

Hey, we don't support collecting the response output at the moment, it's on a todo list for a future release.

itsgoingd avatar May 02 '24 15:05 itsgoingd

Okay, but response is CRUCIAL part in debugging things.

stockarea avatar May 02 '24 15:05 stockarea

Yeah, it's a bit tricky to implement, since we don't know what the response will be. It can be empty, simple json response, but also some huge 500MB json structure or a 5GB binary blob, and we need to support all these cases, ideally without crashing your app and adding a lot of processing time.

itsgoingd avatar May 02 '24 15:05 itsgoingd

For that, I'd look at the network activity tab in the browser's debug window, you should be able to find basic stuff like request, response and overall duration there.

UlrichEckhardt avatar May 02 '24 16:05 UlrichEckhardt

Duplicate of https://github.com/itsgoingd/clockwork/issues/127.

itsgoingd avatar Oct 27 '24 16:10 itsgoingd