Back to Go Micro

Api

cmd/micro/web/templates/api.html

5.19.1415 B
Original Source

{{define "content"}}

API

Authentication Required: Include an Authorization: Bearer <token> header with all /api/... requests. Generate tokens on the Tokens page.

{{range .Services}}

{{.Name}}

{{if .Endpoints}} {{range .Endpoints}}

{{.Name}}{{.Path}}

Request {{.Params}}

Response {{.Response}}

{{end}} {{else}}

No endpoints

{{end}} {{end}} {{end}}