You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,5 +69,40 @@ All the `cron` events will invoke the deployed functions in stipulated time inte
69
69
70
70
However, to call using `httpApi` you can use any REST Client like [Talend API Tester](https://chrome.google.com/webstore/detail/talend-api-tester-free-ed/aejoelaoggembcahagimdiliamlcdmfm?hl=en) with the `url` and *HTTP Verbs* as shown in Terminal after using `serverless deploy`.
71
71
72
+
## API Listing
73
+
74
+
**POST** /login have the following input json
75
+
```json
76
+
{
77
+
"username": "arisgh7"
78
+
}
79
+
```
80
+
Following APIs **must** contain `Authorization: Bearer <token>` in the *headers*
81
+
82
+
**POST** /adduser have the following input json
83
+
```json
84
+
{
85
+
"name": "John Doe",
86
+
"designation": "Actor"
87
+
}
88
+
```
89
+
90
+
**GET** /getallusers have no input json
91
+
92
+
**DELETE** /deleteuser?recordId=record-id-to-delete have no input json. But it should contain the record id to be deleted in the *Query string*
0 commit comments