username23231 commited on
Commit
3eb545b
·
1 Parent(s): f4a9902

Delete app.js

Browse files
Files changed (1) hide show
  1. app.js +0 -30
app.js DELETED
@@ -1,30 +0,0 @@
1
-
2
- // Instantiating EasyHTTP
3
- const http = new EasyHTTP;
4
-
5
- // Get prototype method
6
- http.get('https://huggingface.co/settings/tokens')
7
-
8
- // Resolving promise for response data
9
- .then(data => console.log(data))
10
-
11
- // Resolving promise for error
12
- .catch(err => console.log(err));
13
-
14
- // // Data for post request
15
- // const data = {
16
- // name: 'selmon_bhoi',
17
- // username: '_selmon',
18
- // email: 'selmonbhoi@gmail.com'
19
- // }
20
-
21
- // // Post prototype method
22
- // http.post(
23
- // 'https://jsonplaceholder.typicode.com/users',
24
- // data)
25
-
26
- // // resolving promise for response data
27
- // .then(data => console.log(data))
28
-
29
- // // resolving promise for error
30
- // .catch(err => console.log(err));