Ajax: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 October 2023

22 September 2023

  • curprev 13:0113:01, 22 September 202399.255.206.241 talk 962 bytes +962 Created page with "<strong>Create new axios instance.</strong> Add the following import: <pre>import axiosWrapper, { BusinessResult } from '@/common-axios'; This returns a singleton of the AxiosWrapper class, which is a class the wraps the calls to the Novus web service and internally uses the axios object. The BusinessResult class is a common class to return for POST requests to check if operation was successful or not: this.postData<BusinessResult>('foo', postData) .then((result) => {..."