TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Return a sample user object as application/yaml

GEThttps://api.testingapis.com/api/formats/yamlSign in to see this endpoint's URL

Return a sample user object as application/yaml.

Responses

200
Success.

Example

Request
curl -X GET "https://api.testingapis.com/api/formats/yaml" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
Content-Type: application/yaml; charset=utf-8

id: 1
name: Alice Johnson
email: alice@example.com
active: true
score: 98.5
manager: null
roles:
  - admin
  - editor
address:
  city: Pune
  country: India
  zip: "411001"

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.