Fixed get posts task (only for main without csrf_token)