Hello everyone,
On my website (www. holiday-apartments24 .com) I would like to insert a code to display a booking form.
Inserting using html iframe does not lead to a good result. The company that provided the software for the booking process recommended that I paste the code directly onto the page.
Unfortunately, however, I don’t know how to do it.
Can someone help me?
Kind regards
Daniel
Hi Daniel,
I understand that you have a third party booking service that you would like to add to your site with Corvid. You can definitely accomplish this, you will just need to make sure you have the API key(s) and url or any other piece of required information from your booking service to make the API call from your site. Once you have all the information needed, please take a look at the tutorial here to learn how to access your booking service from website using the fetch() API.
Hope this helps!
Edward | Corvid Team
Hello Edward,
this should be insert:
Kind regards Daniel
Adding code to an HTML component is not a part of the Corvid product (which is what this forum is about). The basics of an HTML component is to put any HTML code in it. That code can be copied from any source that you want, but you need to know the exact code to put there (which is not related to Corvid ). You will need to check with the service provider to find out how to get it work.
A more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done. I recommend checking with the service provider to see if they provide a REST interface.
Thank you very much for your help.
Kind Regards
Daniel