Skip to content

Commit ab5ae6c

Browse files
authored
Update README.md
1 parent ce5fa00 commit ab5ae6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ var payload = {
180180
}
181181
};
182182

183-
WebApiClient.SendRequest("POST", url, payload);
183+
WebApiClient.SendRequest("POST", url, payload)
184+
.then(function(response){
185+
// Process response
186+
})
187+
.catch(function(error) {
188+
// Handle error
189+
});
184190
```
185191

186192
### Promises

0 commit comments

Comments
 (0)