Editing Ajax
Revision as of 13:01, 22 September 2023 by 99.255.206.241 (talk) (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) => {...")
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.