어떻게 번역 html POST 요청으로 python

0

질문

나는 어려움을 겪고 번역하고 이의 특정 HTML POST 요청으로 Python-내을 악용하려는 보안 취약점에 테스트 서버입니다.

director=
<form action="http://127.0.0.1:8000/card/0" method="POST">
  <input type="hidden" name="amount" value="8000" />
  <input type="hidden" name="username" value="hacker" />
  <input type="submit" value="View my photos" />
</form>

html python
2021-11-24 05:58:06
1

최고의 응답

1

코드를 실행하기 전에 아래. 실행 pip 설치를 요청합니다.

import requests

response = requests.get("http://api.open-notify.org/astros.json")
print(response)

>>>> Response<200>

에서 자세한 내용을 참조하십시오 URL 다.

https://www.nylas.com/blog/use-python-requests-module-rest-apis/

2021-11-24 06:22:35

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................