Accept plaintext for PUT /api/doctexts