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

Return a sample CSS stylesheet

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

Responses

200
Success.

Example

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

/* TestingAPIs sample stylesheet */
:root { --bee-yellow: #ffc107; --bee-black: #1e1e1e; }
body { font-family: system-ui, sans-serif; background: var(--bee-black); color: var(--bee-yellow); }
h1 { font-size: 2rem; margin: 0 0 1rem; }

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.