How do you force a web browser to use POST when getting a url?

前端 未结 11 2659
别跟我提以往
别跟我提以往 2020-12-14 00:16

How do you force a web browser to use POST when getting a url?

11条回答
  •  余生分开走
    2020-12-14 00:37

    I know this question is old but someone may find this useful. You can use a command line tool like cURL (http://curl.haxx.se/) to post to a URL.

    Example:

    curl -v  --basic --user username:password --request POST "http://www.theurltopostto.com"
    

提交回复
热议问题