# Veröffentlichungsanfrage
In diesem Abschnitt wird der Herstellungsvorgang erläutert und die Anfrage per POST verschickt Crawlbase's Smart AI Proxy Après-Vente.
# Formulardaten
Der Befehl, den Sie hier erhalten, sendet einen Kommentar an eine POST-Anfrage, die Sie transportieren möchten Formulardaten.
- curl
- Rubin
- Knoten
- php
- python
- go
Verwenden von HTTP:
curl -H 'Content-Type: application/x-www-form-urlencoded' \
-F 'param=value' \
-X POST \
-x "http://[email protected]:8012" \
-k "http://httpbin.org/anything"
Verwenden von HTTPS:
curl -H 'Content-Type: application/x-www-form-urlencoded' \
-F 'param=value' \
-X POST \
-x "https://[email protected]:8013" \
-k "http://httpbin.org/anything"
# JSON-Daten
Senden Sie mir eine POST-Anfrage, die Sie erhalten möchten Daten JSON, melden Sie sich bitte beim nächsten Befehl.
- curl
- Rubin
- Knoten
- php
- python
- go
Verwenden von HTTP:
curl -H "accept: application/json" \
--data '{"key1":"value1","key2":"value2"}' \
-X POST \
-x "http://[email protected]:8012" \
-k "http://httpbin.org/anything"
Verwenden von HTTPS:
curl -H "accept: application/json" \
--data '{"key1":"value1","key2":"value2"}' \
-X POST \
-x "https://[email protected]:8013" \
-k "http://httpbin.org/anything"