Return error for case of HTML but not GET.