curl:post_to_a_page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
curl:post_to_a_page [2019/11/27 00:10] – removed peter | curl:post_to_a_page [2020/09/25 13:03] (current) – created 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Curl - Post to a page ====== | ||
+ | |||
+ | To process a POST request using CURL. | ||
+ | |||
+ | The data will use the **application/ | ||
+ | |||
+ | Lets say you have the following POST form in your page: | ||
+ | |||
+ | <code html> | ||
+ | <form method=" | ||
+ | <input type=text name=" | ||
+ | <input type=text name=" | ||
+ | <input type=submit name=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | You can use the following CURL command to POST the request. | ||
+ | |||
+ | <code bash> | ||
+ | curl -d " | ||
+ | </ | ||
curl/post_to_a_page.1574813430.txt.gz · Last modified: 2020/07/15 09:30 (external edit)