# 8. 處理POST請求/登入頁面

在前面的章節裡, 基本上都是透過HTTP GET就可以達到我們想要的功能了, 但如果今天有些資料是要透過HTTP POST才能取得的話該怎麼辦呢? 通常這種類型的請求都是要傳送form data至server端的, 接下來的範例就會示範如何使用post來取得資料.


---

# 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://clu.gitbook.io/python-web-crawler-note/chu-li-post-qing-6c42-deng-ru-ye-mian.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.
