Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axios.get('path/to/api/users', { params: {
- sort: {
- byField: 'name',
- orderBy: 'DESK'
- },
- filters: {
- status: 'active',
- country: 'spain'
- },
- search: 'pablo'
- }});
- entities: {
- users: {
- byId: {
- 0: {},
- 1: {},
- },
- allIds: [0, 1]
- },
- posts: {
- byId: {
- 0: {},
- },
- allIds: [0]
- }
- }
Add Comment
Please, Sign In to add comment