Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 WADL 中描述 HTTP 基本身份验证,实现此目的的最具描述性的方法是什么?
由于基本身份验证是作为标头实现的,因此只需在请求中使用参数即可。
<method name="GET"> <request> <param name="Authorization" style="header" type="xs:string" required="true" /> <!-- other headers... --> </request> <response> <!-- repsonse.. --> </response> </method>