Home python Why does an empty query come? (Python + QIWI)

Why does an empty query come? (Python + QIWI)

Author

Date

Category

https://qiwi.com/payment / Form / 99? AmountInteger = 99 & amp; currency = 643 & amp; extra = comment


Answer 1, Authority 100%

import requests
DEF CREATEQIWIPAYFORM (SUM: Float, UserID: INT):
  Params = {
    "Amount": SUM,
    "Extra ['COMMENT']": UserID,
    "CURRENCY": 643,
    "Extra ['Account']": 79991112233
  }
  H = Requests.get ("https://qiwi.com/payment/form/99?", Params = Params)
  Return H.
Print (Createqiwipayform (193, 1488228) .URL)

This link will print:

https://qiwi.com/payment/form/99?Mount=193& measurement%5B%27Comment%27%5D=1488228&amp ;currency=643& % 27% 5d = 79991112233

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions