This page documents the available REST endpoints for fetching user data from the Restmancer API.
/api/usersReturns a list of all users.
limit – Number of users to return./api/users/customReturns only specific fields of users, optionally with a limit.
field – Comma-separated list of fields (e.g.,
name,email).
limit – Limit number of users to return.idnameusernameemailpasswordrolelocationskills
The /api/users endpoint supports custom field filtering
and limiting results. Use the ?field=name,email and
&limit=2 query parameters to customize your output.
Example: GET /api/users?field=name,email&limit=2
import requests
url = "https://restmancer.vercel.app/api/users"
response = requests.get(url)
print(response.json())
fetch("https://restmancer.vercel.app/api/users")
.then(res => res.json())
.then(data => console.log(data));
const axios = require("axios");
axios.get("https://restmancer.vercel.app/api/users")
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
curl "https://restmancer.vercel.app/api/users"