import { ok, notFound, serverError } from 'wix-http-functions'; import { fetch } from 'wix-fetch'; export async function get_lookup(request) { const reg = request.query.reg; // Get the registration number from the request const apiKey = "d5SFtA5f2w1LoFPGiTDH44J4k1jxCVkp2ur6eMO3"; // Your DVLA API Key const options = { method: "POST", headers: { "x-api-key": apiKey, "Content-Type": "application/json" }, body: JSON.stringify({ registrationNumber: reg }) }; try { const response = await fetch("https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles", options); if (response.ok) { const data = await response.json(); return ok({ body: JSON.stringify(data) }); } else { return notFound({ body: "Vehicle not found" }); } } catch (error) { console.error("API call failed", error); return serverError({ body: "Failed to fetch vehicle data" }); } }
top of page

JAGUAR LAND ROVER ENGINE SPECIALISTS

Enter REG

I'm a paragraph. Click here to add your own text and edit me. It's easy.

ENGINE SERVICES

Name

ABOUT US

At JLR 4X4 Canvey Island, we’ve been rebuilding and replacing Jaguar and Land Rover engines for over 14 years, with customer satisfaction as our top priority. Based at Unit 6 Sandhurst, SS8 0SA, Canvey Island, United Kingdom, our spacious 8,000-square-foot workshop is equipped with four ramps, ensuring your Jaguar or Land Rover receives a swift and efficient repair.With our supply and fit service, you’ll benefit from a six-month warranty covering any internal engine issues. So, whether your vehicle requires repairs or a complete engine replacement, you can trust us to get your Jaguar or Land Rover back on the road with power and precision.

6 Sandhurst, Canvey Island SS8 0SA, UK

Tel: 07378 996 996

bottom of page