Looking to import all my previous posts from a Strap instance I had running. I’ve got an export json file, possible to just iterate over it and post each using the POST API?
axios.post(
"https://micro.blog/micropub",
querystring.stringify({
h: "entry",
name: article.title,
content: article.body,
date_published: article.published_at,
categories: [category.Tag],
}),
Having troubles setting the date on a new post, and adding an existing category to it? Not seeing anything in the api docs, might just be missing it