0

The software I use has the option to send a request via POST:

https://i.gyazo.com/6a5abee28a780e7cec3ca9d6d7cfc7ab.png

I want to try it, so I made two PHP files

postform.php:

<html>
<body>
<form action="post.php" method="post">
<input type="text" name="proxies">
<input type="submit" value="Submit Info">
</form>
</body>
</html>

post.php:

<?php
$proxies = $_POST['proxies'];
$file = 'proxies.txt';
file_put_contents($file, $proxies);
?>

This should save the result to a txt file afterwards.

It works through the web form, but through the software fails

According to what is written in the software, the request should be sent like this:

http://website.com/postform?proxies=%content%

What am I supposed to do to make it work?

elison
  • 23
  • 1
  • 5

0 Answers0