Groovy (Low-code)SDK Functions (Groovy)HTTP (deprecated)Headershttp.acceptOn this pagehttp.accept http.accept(type) Description Sets the accept header. Parameters ParameterTypeExplanationtypeStringThe header type to accept Example http = option.httphttp.accept("application/json")