Dear all,
Using API - {{base_url}}/{{base_path}}/content/articles/<article id> and request type = Patch... I can easily update the title . However when I am trying to update the content of the article then it shows me an error. Looks like I don't have all the json value which needs to be passed.
Below json values when passed, title gets updated
Json values --- {"catid":64,"title":"XYZ"}
For main article content, I am trying to pass json values
{"catid":64,"text":"abc"}
It does not update
I have also tried but below also doesn't work
'{ "id": 1189,"title": "XYZ","fulltext": "body344","state": 1}'
Can someone give me what should be put in the body of postman to update content of the article.
Using API - {{base_url}}/{{base_path}}/content/articles/<article id> and request type = Patch... I can easily update the title . However when I am trying to update the content of the article then it shows me an error. Looks like I don't have all the json value which needs to be passed.
Below json values when passed, title gets updated
Json values --- {"catid":64,"title":"XYZ"}
For main article content, I am trying to pass json values
{"catid":64,"text":"abc"}
It does not update
I have also tried but below also doesn't work
'{ "id": 1189,"title": "XYZ","fulltext": "body344","state": 1}'
Can someone give me what should be put in the body of postman to update content of the article.
Statistics: Posted by ourequation — Sat Dec 21, 2024 9:24 pm