HttpResponse

_相关内容

将TraceId自动写入HTTP Response Header(Java和Node....

本文介绍对于Java和Node.js应用如何将TraceId自动写入HTTP Response Header。Java应用 默认情况下,TraceId只会在保存在HTTP Requst Header中,如果您需要在HTTP Response Header中设置 TraceId,可参考本文使用OpenTelemetry Java Agent ...

将TraceId自动写入HTTP Response Header(Java和Node....

本文介绍对于Java和Node.js应用如何将TraceId自动写入HTTP Response Header。Java应用 默认情况下,TraceId只会在保存在HTTP Requst Header中,如果您需要在HTTP Response Header中设置 TraceId,可参考本文使用OpenTelemetry Java Agent ...

HTTP请求处理程序(HTTP Handler)

HttpResponse responseHttpResponse 类。IFcContext fcContext:上下文对象,包含函数和请求的信息。说明 C#HTTP Handler必须继承Aliyun.Serverless.Core.Http中的FcHttpEntrypoint,其中Init函数和HandleRequest必须重写。示例程序 函数...

图片审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 提交图片异步检测任务 使用.NET SDK对图片...

视频审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 提交视频直播流进行检测 using System;using...

语音反垃圾检测

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 查询语音异步检测结果 接口 描述 支持的地域...

图片人工审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 查询图片人工审核任务结果 示例代码 using ...

文本人工审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 查询文本人工审核任务结果 using System;...

视频人工审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 查询视频人工审核任务结果 using System;...

语音人工审核

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 查询语音人工审核任务结果 using System;...

词权重干预词典

HttpResponse response=client.doAction(listInterventionDictionariesRequest);System.out.println(response.getHttpContentString());} public static void createDictionary(String dictionaryName)throws UnsupportedEncodingException...

HTTP相关

HttpResponse 简介 引擎用来描述返回HTTP Response时的数据结构。基于HTTP协议的连接器节点(例如HTTP节点),访问对端系统时,引擎会根据对端的HTTP Response内容自动生成此种类型的对象,供后续节点使用。集成流的最后一个节点(例如HTTP...

查询业务场景

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));所有业务场景列表。Console.WriteLine("query success.bizTypes size:"+response.BizTypeList.Count);foreach(DescribeUserBizTypesResponse...

文本反垃圾检测

} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } } 文本反垃圾结果反馈 如果您认为文本检测的...

查询组列表

功能描述 查询所有的个体组ID。...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

视频审核

task.put("url","请填写公网可访问的视频HTTPHTTPS URL地址");tasks.add(task);设置要检测的场景。计费是依据此处传递的场景计算。视频默认1秒截取一帧,您可以自行控制截帧频率。收费按照视频的截帧数量以及每一帧的检测场景计算。举例...

删除个体

功能描述 删除个体时,个体对应的图片以及...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

使用说明

指定要访问的Region,仅对当前请求生效,不改变Client的默认设置 try { HttpResponse httpResponse=client.doAction(req);System.out.println(req.getUrl());System.out.println(httpResponse.getUrl());byte[]content=httpResponse....

删除业务场景

如果您需要删除业务场景,请务必保证业务场景...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

查询个体信息

功能描述 关于参数的详细说明,请参见 查询...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

新增人脸

功能描述 为个体新增一组人脸图片,一个个体...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

删除人脸

功能描述 删除人脸图片时,必须指定要删除的...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

删除相似图库

功能描述 只有当相似图库中无图片样本时,才...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

设置个体

功能描述 设置个体信息用于给个体添加备注...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

查询个体列表

功能描述 每个个体必须属于一个分组,在调用...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

移除相似图样本

功能描述 移除操作在1分钟之内生效。...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

新建个体

功能描述 新建个体时,必须指定个体要加入的...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

创建相似图样本库

功能描述 通过该接口创建相似图样本图库。...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

查询相似图库列表

功能描述 调用该接口分页查询所有相似图库...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

查询人脸信息

功能描述 根据个体ID和人脸ID查询当前个体的...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

人脸属性检测

人脸属性检测仅支持以图片作为检测媒介。...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

创建业务场景

功能描述 业务场景主要用于内容检测API功能...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

添加个体到分组

功能描述 将一个个体添加到一个或者多个个体...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

增加相似图样本

HttpResponse httpResponse=null;try { httpResponse=client.doAction(addSimilarityImageRequest);} catch(Exception e){ e.printStackTrace();}/服务端接收到请求,并完成处理返回的结果。if(httpResponse!null&httpResponse.isSuccess()...

删除分组中个体

功能描述 删除分组中个体不会删除个体对应的...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

查询指定相似图库信息

功能描述 调用该接口查询指定相似图库信息。...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

文件审核

HttpResponse httpResponse=null;try { httpResponse=client.doAction(fileAsyncScanV2Request);if(httpResponse.isSuccess()){ JSONObject responseObj=JSON.parseObject(new String(httpResponse.getHttpContent(),"UTF-8"));int ...

人脸比对

HttpResponse httpResponse=null;try { httpResponse=client.doAction(imageSyncScanRequest);} catch(Exception e){ e.printStackTrace();}/服务端接收到请求,并完成处理返回的结果。if(httpResponse!null&httpResponse.isSuccess()){ ...

相似图检索

功能描述 相似图检索帮助您从图库中检索出与...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }

增加相似图样本

功能描述 添加相似图样本时,您可以为图片...} Console.WriteLine(System.Text.Encoding.Default.GetString(response.HttpResponse.Content));} catch(Exception ex){ Console.WriteLine("Failed with error info:{0}",ex.Message);} } } }
< 1 2 3 4 ... 200 >
共有200页 跳转至: GO
新人特惠 爆款特惠 最新活动 免费试用