User who creates a question cannot post an answer to it using the REST API
Hi
I encountered an issue while using the REST API to post answers to questions:
If a user creates a new question he cannot answer to it using the qanda.is_answer=true parameter, otherwise lithium returns
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <response status="error"> <error code="303"> <message> Zugriff verweigert </message> </error> </response>
If this is expected behaviour, how do I give feedback to an answer to my question? I tried replying without the qanda.is_answer=true parameter which works just fine but I'm not sure if this is the way to go. Can someone explain what the qanda.is_answer parameter is actually doing?
Thanks,
Moreno
Hi mfeltscher
I think this is consistent with what the UI does. It is not possible for a user to post a question on a Q&A board and then answer their own questions.
Hope it helps,
Hi PaoloT
It turns out this got solved and it wasn't expected behaviour. To sum up: If you post a question you are allowed to answer it using the "qanda.is_answer=true" parameter.
Just wanted to add this in case anyone else runs into a similar problem.
Moreno