1

Topic: API - a method "POST"

2

Re: API - a method "POST"

3

Re: API - a method "POST"

Anatoly Moskovsky wrote:

"application/x-www-form-urlencoded" or "multipart/form-data" are two different formats. The first is used for transmission of simply piece of the data without the structure, the second form for date transmission with concrete fields

, on the contrary. "application/x-www-form-urlencoded" for forms, "multipart/form-data" - for a piece of the data without structure

4

Re: API - a method "POST"

5

Re: API - a method "POST"

Riska;
Generally on idea at POST URL should be without parameters "https://secure5.tranzila.com/cgi-bin/tranzila71u.cgi", and parameters are transferred in a request body (ls_post) in the same type as though they were in URL (without?)
What at you it is transferred in ls_post?

6

Re: API - a method "POST"

Anatoly Moskovsky;
Made, as .
Glory did not add sad
Changed nothing.

ls_post_url = ' https://secure5.tranzila.com/cgi-bin/tranzila71u.cgi'
ls_post = ' supplier=testd621&tranmode=A&ccno=12312312&expdate=0917&sum=3&currency=1&cred_type=1&myid=123456789&mycvv=123'

7

Re: API - a method "POST"

Riska;
Well then I surrender))

8

Re: API - a method "POST"

No, here an appreciable error in a format of parameters
You as for a GET-line transfer them only through POST.
At them other format.

9

Re: API - a method "POST"

It can helps

10

Re: API - a method "POST"

If something is impossible, read the documentation ()
Description API should be, there and should be specified, in what type it is necessary to form the data