Forgot to set content type although it still seems to work fine