Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Publishing to Juejin Through Its Web API: The mark_content Lesson

Automating content publishing is a common task for developer-advocates and technical writers. Juejin (掘金) is a popular Chinese developer community, and like many modern web apps, it relies on an internal HTTP API for its editor. That API is undocumented and changes without notice. This post is a post-mortem of a silent regression: drafts saved with empty bodies and a publish call returning…

Juejin, a popular Chinese developer community, utilizes an internal HTTP API for its editor. This API is undocumented and changes without notice. A developer encountered a regression where drafts were saved with empty bodies and a publish call returning err_no=1010. The issue was traced to a required field named mark_content. By capturing the real client's actions through DevTools and generating cURL requests, the issue was identified.

The save draft call required mark_content to be present and non-empty. The publish call returned an error if mark_content was missing or empty. This information was then used to create Python functions for saving and publishing drafts using the requests library.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

CVE-2026-84869: a ScreenConnect client bypass and the spread that followed it

CVE-2026-84869: the ScreenConnect client flaw and the worm-like spread that followed ConnectWise published an advisory for CVE-2026-84869 on 3 September 2026 and shipped the fix in ScreenConnect…

  • CVE-2026-84869 vulnerability affects ScreenConnect client software
  • Missing authorization check allows unauthorized file transfers during remote sessions
  • Organizations urged to upgrade to version 26.6.5 by 14 September 2026

The Late Charlie Munger on Elon Musk and Tesla

Re: my post today on the still-vaporware Tesla Roadster and Benedict Evans’s maxim that “Elon Musk is a bullshitter who delivers”, a reader sent me this YouTube short of Charlie Munger’s answer to a…

More from Saturday, 17 October 2026 →