rgb192
asked on
does post require a form or curl to be post
<form action="targeturl.php" method="post">
<input type="hidden" name="postvar1" value="1" />
<input type="hidden" name="postvar2" value="cat" />
<input type="hidden" name="postvar3" value="2017-01-01" />
<input type="hidden" name="postvar4" value="jack@frost.com" />
<input type="submit" />
</form>
does simplest example of a post need to be a webform.
is a form required to make sending data to url or api in post format
or curl (not pictured)
what makes
a post
a post
<input type="hidden" name="postvar1" value="1" />
<input type="hidden" name="postvar2" value="cat" />
<input type="hidden" name="postvar3" value="2017-01-01" />
<input type="hidden" name="postvar4" value="jack@frost.com" />
<input type="submit" />
</form>
does simplest example of a post need to be a webform.
is a form required to make sending data to url or api in post format
or curl (not pictured)
what makes
a post
a post
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This comment, while very old, is still useful because it clearly shows the use of fputs() to write the client request and fgets() to read the server response.
http://php.net/manual/en/function.fsockopen.php#34887
This comment seems to illustrate the use of "verbs" and the rest of the request data fairly well. It might require testing / refactoring for 21st century standards.
http://php.net/manual/en/function.fsockopen.php#101872
This is also worth understanding.
http://php.net/manual/en/function.parse-url.php