> For the complete documentation index, see [llms.txt](https://qx.atlucky.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://qx.atlucky.me/shi-yong-fang-fa/pei-zhi-wen-jian-xiang-jie/gong-ju-fen-xi/http_backend.md).

# http\_backend

## 简介

http\_backend 是通过QX在本地搭建一个HTTP服务器，并且使用JavaScript来进行数据处理，可以通过`http://address:port/path/` 来访问。默认的地址和端口：`127.0.0.1:9999` 。使用时候需QX处于开启状态且http\_backend 开关已经开启。

因为现在的QX相关的脚本都在重写中进行，几乎没有使用http\_backend的方式，此部分也不做过多介绍了。

{% hint style="info" %}
早期的boxjs是使用http\_backend 的方式，但是现在也已经改为重写的方式了。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://qx.atlucky.me/shi-yong-fang-fa/pei-zhi-wen-jian-xiang-jie/gong-ju-fen-xi/http_backend.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.
