Rapid-Res
Same restaurants, just quicker

How to use the Rapid Widget in your website

You will be given an example script similar to this from Rapid.

<script src="https://dev-api.rapid-res.dev/widget/{WIDGETCODE}/render/en-GB" defer></script>

Place this script inside the <head> of an HTML file and ensure the widget is loaded correctly like so

widget-image-2.png

✅ Notes

1 - defer is essential when placing scripts in the <head>. This will prevent the script from blocking the parsing of the HTML and ensures the script runs after the DOM is ready.

2 - There is an inline option available so you can place the widget in a specifc area of the webpage. To support this notify Rapid that you require an inline option and place this code widget-image-3.png in the area you want the widget to appear.