Search Users by Name

To search a user by name, last name or username, use the following request:

GET http://onapp.test/users.xml?q=name
GET http://onapp.test/users.json?q=name

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:password --url http://onapp.test/users.xml?q=name

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:password --url http://onapp.test/users.json?q=name