Inaccuracy in the documentation of the Joplin Data API (POST /resources) or a bug in the program

I observed the same issue some time ago:

Imo. it would be helpful to align documentation and implementation.