http post request curl

usersubuser

http://requestmaker.com/ http 게시물 요청을하는이 웹 사이트가 있습니다.

내 질문은 curl 또는 기타 유사한 명령 줄 앱으로 어떻게이 요청을 할 수 있습니까? Windows 또는 Linux는 중요하지 않습니다.

내 요청 URL은 다음과 같습니다.

http://www.website.net/servers?server%5Bgame%5D=cstrike1&server%5Bdomain%5D=192.168.1.1&server%5Bport%5D=27000

요청 헤더 :

Content-Type: application/json
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Refer: http://www.website.net/servers/new
한스 Z.

다음과 같습니다.

curl -H "Content-Type: application/json" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "Refer: http://www.website.net/servers/new" "http://www.website.net/servers?server%5Bgame%5D=cstrike1&server%5Bdomain%5D=192.168.1.1&server%5Bport%5D=27000"

하지만 나는 당신이 Referer대신 헤더 를 설정하려고 생각 Refer했고 아마도 JSON 데이터를 POST해야 할 것 Content-Type입니다 application/json.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

bash curl post request set timeout

분류에서Dev

Issue with submitting an HTTP POST request

분류에서Dev

curl capturing http status and timing the request

분류에서Dev

Sending HTTP request via command line and curl

분류에서Dev

Execute http post request before directive

분류에서Dev

Angular $http post request undefined in PHP

분류에서Dev

curl 명령을 request.post로 변환

분류에서Dev

PHP HTTP CURL PUT request for LIFX Power On/Off

분류에서Dev

Python http get - cannot replicate a curl request with headers

분류에서Dev

API HTTP / Request2.php에서 CURL로

분류에서Dev

PHP + cURL을 사용한 HTTP POST 요청

분류에서Dev

cURL http post file upload using curl --data in linux command line

분류에서Dev

Error when converting JSON HTTP POST request to Java object

분류에서Dev

how to make a faked Android/ios http post request from desktop

분류에서Dev

How to log HTTP Request's Body (POST) (XML) in Mule ESB

분류에서Dev

HTTP Post Request to web service . ERROR : Index was outside the bounds of the array

분류에서Dev

Sending http post request to php with many data using angular

분류에서Dev

HTTP error 405 when forwarding servlet POST request

분류에서Dev

Curl Ubuntu Post Request가 파일을받지 못함

분류에서Dev

자바 HTTP POST와 GET은 CURL로 변환

분류에서Dev

CURL / HTTP POST의 매개 변수로 Jenkins 작업 빌드

분류에서Dev

Http Post curl을 통해 json 파일 보내기

분류에서Dev

Put request using curl

분류에서Dev

Curl and post it in table

분류에서Dev

HTTP Request with No HTTP Response

분류에서Dev

Authentication POST http://localhost:3000/api/users/register 400 (Bad Request) MERN Application

분류에서Dev

Http Post Request가 프로세스를 중지 함

분류에서Dev

em-http-request로 실패한 간단한 POST 요청

분류에서Dev

HTTP Post Request 데이터를 읽을 수 없음 Swift 3

Related 관련 기사

  1. 1

    bash curl post request set timeout

  2. 2

    Issue with submitting an HTTP POST request

  3. 3

    curl capturing http status and timing the request

  4. 4

    Sending HTTP request via command line and curl

  5. 5

    Execute http post request before directive

  6. 6

    Angular $http post request undefined in PHP

  7. 7

    curl 명령을 request.post로 변환

  8. 8

    PHP HTTP CURL PUT request for LIFX Power On/Off

  9. 9

    Python http get - cannot replicate a curl request with headers

  10. 10

    API HTTP / Request2.php에서 CURL로

  11. 11

    PHP + cURL을 사용한 HTTP POST 요청

  12. 12

    cURL http post file upload using curl --data in linux command line

  13. 13

    Error when converting JSON HTTP POST request to Java object

  14. 14

    how to make a faked Android/ios http post request from desktop

  15. 15

    How to log HTTP Request's Body (POST) (XML) in Mule ESB

  16. 16

    HTTP Post Request to web service . ERROR : Index was outside the bounds of the array

  17. 17

    Sending http post request to php with many data using angular

  18. 18

    HTTP error 405 when forwarding servlet POST request

  19. 19

    Curl Ubuntu Post Request가 파일을받지 못함

  20. 20

    자바 HTTP POST와 GET은 CURL로 변환

  21. 21

    CURL / HTTP POST의 매개 변수로 Jenkins 작업 빌드

  22. 22

    Http Post curl을 통해 json 파일 보내기

  23. 23

    Put request using curl

  24. 24

    Curl and post it in table

  25. 25

    HTTP Request with No HTTP Response

  26. 26

    Authentication POST http://localhost:3000/api/users/register 400 (Bad Request) MERN Application

  27. 27

    Http Post Request가 프로세스를 중지 함

  28. 28

    em-http-request로 실패한 간단한 POST 요청

  29. 29

    HTTP Post Request 데이터를 읽을 수 없음 Swift 3

뜨겁다태그

보관