make a univeral var id for post, put , delet