Changed posts get type from GET to POST