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
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
getDataViaApi (path, callback, errorHandler, headerParams) { let headerObject = { 'Cache-Control': 'no-cache' } Vue.http.get(config.getApiPath(path), { headers: typeof headerParams !== 'undefined' ? Object.assign(headerObject, headerParams) : headerObject }).then( response => callback(response), error => { if (typeof errorHandler === 'function') errorHandler(error) } ) }
i am using this code for get request, works fine in chrome and safari but throws in 'error' in firefox. Please help. Its urgent
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
getDataViaApi (path, callback, errorHandler, headerParams) { let headerObject = { 'Cache-Control': 'no-cache' } Vue.http.get(config.getApiPath(path), { headers: typeof headerParams !== 'undefined' ? Object.assign(headerObject, headerParams) : headerObject }).then( response => callback(response), error => { if (typeof errorHandler === 'function') errorHandler(error) } ) }
i am using this code for get request, works fine in chrome and safari but throws in 'error' in firefox. Please help. Its urgent
The text was updated successfully, but these errors were encountered: