File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ $articleId = 1; // The Article ID of a specific Article
140140$data = [
141141'id' => $articleId,
142142'title' => 'How to add an article via the Joomla 4 API?',
143- 'articletext' => 'Use the HTTP POST method at the /content/articles endpoint.',
143+ 'introtext' => 'When using PATCH, articletext MUST be splitted in two parts or use at least just introtext in order to work properly',
144+ 'fulltext' => 'MORE CONTENT if you wish',
144145];
145146
146147$dataString = json_encode($data);
@@ -324,7 +325,8 @@ $articleId = 1; // The Article ID of a specific Article
324325$data = [
325326'id' => $articleId,
326327'title' => 'How to add an article via the Joomla 4 API?',
327- 'articletext' => 'Use the HTTP POST method at the /content/articles endpoint.',
328+ 'introtext' => 'When using PATCH, articletext MUST be splitted in two parts or use at least just introtext in order to work properly',
329+ 'fulltext' => 'MORE CONTENT if you wish',
328330];
329331
330332$dataString = json_encode($data);
You can’t perform that action at this time.
0 commit comments