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

Return a sample user list as application/xml

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

Return a sample user list as application/xml.

Responses

200
Success.

Example

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

<?xml version="1.0" encoding="UTF-8"?>
<users>
  <user id="1">
    <name>Alice Johnson</name>
    <email>alice@example.com</email>
    <roles><role>admin</role><role>editor</role></roles>
    <active>true</active>
  </user>
  <user id="2">
    <name>Bob Smith</name>
    <email>bob@example.com</email>
    <roles><role>viewer</role></roles>
    <active>false</active>
  </user>
… (1 more lines)

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.