A way to see how large a request is?

Just curious, is there a way to check how much data any given request is? If I want to compare different ways to write code to send, is there a way to compare the size of the data being sent to/from cloud code?

There is no way to do that today, but we are actively working on a feature that would make that possible via exposing Cloud Code logs in the dashboard.

For now, during a development you could test a javascript fom the dashboard and see its logging output in the same window.

Alternatively you could use Unity Analytics to send custom events to see what this looks like over time, including averages, minimum and maximum sizes. See https://docs.unity.com/analytics/en/manual/RecordingCustomEvents

1 Like

You may use Fiddler to capture the size of the web requests when calling UGS api. simply download an run.