I was following the other examples but you're right, I think I need to set the content type.