使用Fiddler测试WCF REST服务时如何获得基本身份验证握手? [英] How Do I Get By The Basic Authentication Handshake When Using Fiddler To Test A WCF REST Service?

查看:73
本文介绍了使用Fiddler测试WCF REST服务时如何获得基本身份验证握手?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Fiddler测试WCF REST服务时如何通过基本身份验证握手?

How Do I Get By The Basic Authentication Handshake When Using Fiddler To Test A WCF REST Service?

推荐答案

您需要对用户名:password进行base64编码,然后在其前面加上Basic.最终看起来像这样:

You need to base64 encode your username:password and then prefix it with Basic. It will end up looking something like:

Authorization: Basic VEFWSVNcZGFycmVsOg==

然后在请求标题字段中输入此内容.

You then enter this in the request headers field.

这篇关于使用Fiddler测试WCF REST服务时如何获得基本身份验证握手?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆