diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index 3bba311a1..9f4c60d61 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -122,10 +122,6 @@ const endpoints = { url: "/experiments/api/v1/experiments/run", method: "POST", }, - LookupVinByImage: { - url: "https://slimagetovin.azurewebsites.net/home/FindVIN", - method: "POST", - }, }; export { endpoints }; diff --git a/src/global-methods.js b/src/global-methods.js index 90d7f2cb6..14e5cca0e 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -53,25 +53,6 @@ export default { }); }, - callSimpleHttpClient({ method, endpoint, payload }) { - return new Promise((resolve, reject) => { - axios({ - method: method, - url: endpoint, - data: payload, - crossDomain: true, - headers: { "Access-Control-Allow-Origin": "*" }, - }).then( - (response) => { - return resolve(response); - }, - (error) => { - return reject(error.response); - } - ); - }); - }, - /* istanbul ignore next */ callMockHttpClient({ method, endpoint }) { // For Mock use only!