output-sdk
    Preparing search index...

    Function serializeBodyAndInferContentType

    • Serializes a payload for use as a fetch POST body and infers its Content-Type.

      Parameters

      • body: unknown

        The payload to serialize.

      Returns SerializedBodyAndContentType

      The serialized body and inferred Content-Type.