Everything is fine but you are not connected to Discourse

I get this error for a testing which I post this link: https://www.Mysite.com/api/wp-discourse/v1/update-topic-content

And as you see, I rewrite the path from “wp-json” to “api”.

{
    "code": "rest_no_route",
    "message": "未找到匹配URL和请求方式的路由",
    "data": {
        "status": 404
    }
}