Hi Leung R,
As per the documentation, using the OneNote API we can extract the business card data from an image, or recipe and product data from a URL. Extracting the product data only works on the body part of the page. It cannot extract the details in section wise like page title, header, footer etc. To create a OneNote page with title we need to provide the Title tag explicitly in the request body along with the extract code. Below is the sample code.
Request Header:
Content-Type: application/xhtml+xml
<!DOCTYPE html>
<html>
<head>
<title>Test Title</title>
</head>
<body>
<div
data-render-src=https://www.bbc.com/news/entertainment-arts-64372274
data-render-method="extract"
data-render-fallback="none">
</body>
</html>
Please find he below screenshot for reference:
Response after the Graph call execution:
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.