The easiest way to add API calls in Lovable is by writing and running a prompt. Here’s a quick tutorial on how to do it:
- Head over to the chat box, then type your prompt asking Lovable to add an API call to the project.
- Review the prompt thoroughly and ensure that it contains all the necessary data, including the API endpoints.
- Once done, click the 'Send' button to process your request.
- After completing these steps, an API call will be added to your Lovable project based on the provided prompt.
