newdevs:angular_making_calls
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| newdevs:angular_making_calls [2024/03/28 23:08] – [Deleting data in the database] add examples sandbergja | newdevs:angular_making_calls [2024/03/28 23:16] (current) – [NetService example] sandbergja | ||
|---|---|---|---|
| Line 159: | Line 159: | ||
| ==== NetService example ==== | ==== NetService example ==== | ||
| - | coming soon | + | Here is an example of refreshing the contents of an automatically-generated carousel (the one with ID 201): |
| + | |||
| + | this.net.request(' | ||
| + | ' | ||
| + | this.auth.token(), | ||
| + | 201).subscribe(() => { | ||
| + | alert(' | ||
| + | }); | ||
| ===== Deleting data in the database ===== | ===== Deleting data in the database ===== | ||
newdevs/angular_making_calls.1711681707.txt.gz · Last modified: 2024/03/28 23:08 by sandbergja