add voted post api