corrected url call for posts