I have installed version 4.0.9 of phpmyfaq.
When I tried to register a QA using the create API, I got an error.
I got a typeerror message saying that the faqid must be of type INT.
Since I haven't specified the faqid as an API parameter, I feel like the data isn't being passed correctly during processing.
curl -X 'POST' \
'https://localhost/api/v3.0/faq/create' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"language": "de",
"category-id": 1,
"category-name": "Queen Songs",
"question": "Is this the world we created?",
"answer": "What did we do it for, is this the world we invaded, against the law, so it seems in the end, is this what we'\''re all living for today",
"keywords": "phpMyFAQ, FAQ, Foo, Bar",
"author": "Freddie Mercury",
"email": "freddie.mercury@example.org",
"is-active": "true",
"is-sticky": "false"
}'
4.0.9 api create error
Moderator: Thorsten