Skip to content

Instantly share code, notes, and snippets.

@tyrw
Created September 14, 2021 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyrw/62cc4f2d5c3a05e53bf7411cd0cf8e4a to your computer and use it in GitHub Desktop.
Save tyrw/62cc4f2d5c3a05e53bf7411cd0cf8e4a to your computer and use it in GitHub Desktop.
Example search with data attribute
curl --request POST \
--url https://api.userfront.com/v0/users/find \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer uf_test_readonly_demo1234_2d87b3d230bda5685276b43efdac2852' \
--data '{"filters":{"conjunction":"and","filterGroups":[{"conjunction":"and","filters":[{"attr":"data.accountName","type":"string","comparison":"contains","value":"bob"}]}]}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment