?
avatar marconte21870
marconte21870
6 Jun 2021

"{"errors":[{"title":"Field required: Title\nField required: Category"}]}"
when i send curl for new article, user :
curl -X POST [myhttspsite]/joomla/api/index.php/v1/content/articles
-H "Content-Type: application/json"
-H "X-Joomla-Token: mytoken"
-d "{'alias': 'my-article','articletext': 'My text','catid':'2,'language': '*','metadesc': '','metakey': '','title': 'Here's an article'}"

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar marconte21870 marconte21870 - open - 6 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jun 2021
avatar alikon
alikon - comment - 6 Jun 2021

cannot confirm see #34274 (comment)

avatar marconte21870
marconte21870 - comment - 6 Jun 2021

I solved with your advice, it works but on postman it does not work, it is not important postman but it is important that it works on php and my n8n platform,
a sincere thank you

avatar marconte21870 marconte21870 - change - 6 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-06 10:10:21
Closed_By marconte21870
avatar marconte21870 marconte21870 - close - 6 Jun 2021

Add a Comment

Login with GitHub to post a comment