# 登录认证 For Java

o2server向外提供了非常完整的restful服务，用户可以使用任何语言，编写代码发起http请求来进行o2server功能和业务的操作。大多数服务的调用，都需要进行登录认证，本篇详细介绍如何使用其他语言来发送http请求进行服务器认证。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://o2oa.gitbook.io/course/liu-cheng-guan-li/xi-tong-jiao-hu/deng-lu-ren-zheng-for-java.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
