+
Import from URL
+
+ Paste a recipe URL and we'll try to fetch the page and extract recipe data.
+
+
+
+
+ {error && (
+
+ )}
+
+ {result && (
+
+
Import fetched successfully
+
Source: {result.source_url}
+
JSON-LD blocks found: {result.json_ld_blocks.length}
+
+ )}
+
+ );
+}
diff --git a/frontend/src/services/api.ts b/frontend/src/services/api.ts
index 330a2b4..f6647ef 100644
--- a/frontend/src/services/api.ts
+++ b/frontend/src/services/api.ts
@@ -2,7 +2,7 @@
* API client for Recipe Manager backend
*/
-import type { Recipe, Tag, ApiResponse } from '../types/recipe';
+import type { Recipe, Tag, ApiResponse, UrlImportResult } from '../types/recipe';
// Use relative URL - nginx will proxy to backend in production
// For local development (npm run dev), configure vite.config.ts proxy
@@ -239,3 +239,28 @@ export async function deleteTag(id: number): Promise