aboutsummaryrefslogtreecommitdiff
path: root/src/modules/login/login.service.js
blob: 6908968fb503903fd46bea4d84e4febd8f0b4a9e (plain)
1
2
3
4
5
6
7
8
9
import HttpService from '../../services/http.service';

export const loginMock = (params)=>{
    return HttpService.fetch({
        url: 'https://reqres.in/api/login',
        method: 'post',
        data: params
    }, true);
}