aboutsummaryrefslogtreecommitdiff
path: root/src/modules/login/login.service.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/login/login.service.js')
-rw-r--r--src/modules/login/login.service.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/login/login.service.js b/src/modules/login/login.service.js
new file mode 100644
index 0000000..15fc3cc
--- /dev/null
+++ b/src/modules/login/login.service.js
@@ -0,0 +1,9 @@
+import HttpService from '../../services/http.service';
+
+export const loginMock = (params)=>{
+ return HttpService.fetch({
+ url: 'https://reqres.in/api/login',
+ method: 'post',
+ data: params
+ });
+} \ No newline at end of file