Could someone kindly help me to understand why my API call is creating empty blogposts (with their titles only), although all variables are populated?
Share an example of the JSON structure you are posting, redacting anything you need to.
Posts don’t have a markdown
field. You have two options if you want to use markdown as a source format
- Convert markdown to html first then pass a
html
field and use?source=html
on the request. That will convert the HTML to our native editor format and give you a the best editing experience later on - Write the native lexical format directly and create a markdown card - mobile right now so don’t have a code sample to hand but if you create a post with a markdown card in our editor you can inspect the network call and see the format
3 Likes
Thank you very much, @Kevin
1 Like