post comment method
evrpress opened this issue · comments
Xaver commented
I would like to add a post comment method which looks like this:
public function post_comment($item_id,$comment_id, $message){
$post = array(
'parent_id' => $comment_id,
'ret' => 'author_dashboard',
'content' => $message,
);
$result = $this->_get_url($this->main_marketplace.'/items/'.$item_id.'/comments',
}
This is currently not working and I always have to enter the captcha. I guess it's because of the missing ´authenticity_token´
Is the current token saved somewhere?