RSS Feed/News silent and clear_edit parameters are ignored in "POST /api/posts/:id"

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,689
Points
823

Reputation:

Making request like this to edit post via XF's REST API:
POST /api/posts/164 HTTP/1.1
Host: ...
XF-Api-Key: wF-...
Content-Type: application/x-www-form-urlencoded
Content-Length: 51

| message=lorem+ipsum+dolor+sit&silent=1&clear_edit=1
Click to expand...

Post is succesfully edited without any error messages but both silent and clear_edit params are being ignored. Tried values like "1" and "true" - no difference, not working.

I would expect this to work as mentioned in REST API endpoints...

Read more

Continue reading...
 
Status
Not open for further replies.
Top