mbody

package
v0.0.0-...-7eb2361 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeRaw        = "raw"
	ModeURLEncoded = "urlencoded"
	ModeFormData   = "formdata"
	ModeFile       = "file"
	ModeGraphQL    = "graphql"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	Mode       string           `json:"mode"`
	Raw        string           `json:"raw,omitempty"`
	URLEncoded []BodyURLEncoded `json:"urlencoded,omitempty"`
	FormData   []BodyFormData   `json:"formdata,omitempty"`
	File       interface{}      `json:"file,omitempty"`
	GraphQL    interface{}      `json:"graphql,omitempty"`
	Disabled   bool             `json:"disabled,omitempty"`
	Options    BodyOptions      `json:"options,omitempty"`
}

type BodyFormData

type BodyFormData struct {
	Key         string `json:"key"`
	Value       string `json:"value"`
	Description string `json:"description"`
	Disabled    bool   `json:"disabled"`
}

type BodyOptions

type BodyOptions struct {
	Raw BodyOptionsRaw `json:"raw,omitempty"`
}

type BodyOptionsRaw

type BodyOptionsRaw struct {
	Language string `json:"language,omitempty"`
}

type BodyURLEncoded

type BodyURLEncoded struct {
	Key         string `json:"key"`
	Value       string `json:"value"`
	Description string `json:"description"`
	Disabled    bool   `json:"disabled"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL