Where is the bug in the api?

Hello.

Trying to do automatic billing on qiwi.

Before the form in the html did:
<?php
$publicKey = '...';
$amount = (int)$info['price'];

$link = 'https://oplata.qiwi.com/create?publicKey='.$publicKey.'&amount='.$amount.";
?>

Next form
<form class="form" action="<?php echo $link; ?>" method="POST">
 <input class="email" type="email" name="email" placeholder="Email address">
 <input class="button-inp" type="submit" name="submit" value="Next">
 </form>


Email address in the form, I have not taken into account.

After sending the data, open the link type
https://oplata.qiwi.com/create?publicKey=...&amount=599
and the inscription error 405.

BUT if I click on the link in the address bar, it does stand out and I press enter, it opens a normal form, which should be.

I don't understand why she just doesn't open?

Please tell me how to fix it.
api https://developer.qiwi.com/ru/bill-payments/?php#http

P. S. If I make the form method GET and input field hidden, then everything will work fine.

5dfe4139e2cd1114608445.png
April 3rd 20 at 18:57
1 answer
April 3rd 20 at 18:59
Solution
The form sends a post request, but you can only get
@Tomas.Bradtke I Think there's something perhaps even, but since nobody answered I will answer your answer decision. Thank you. - brain75 commented on April 3rd 20 at 19:02
@brain75, there is nothing you cannot be, the server says openly that the method, in this case post, is prohibited. - Tomas.Bradtke commented on April 3rd 20 at 19:05

Find more questions by tags PHPAPIQiwi