curl --trace-ascii out.txt -X POST -F "type=xml" -F "token=99SADAFSDFJ" -F "file=@prikaz.xml" http://xxxx.cz
0000: POST / HTTP/1.1
0011: User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 Ope
0051: nSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
0082: Host: xxxx.cz
0091: Accept: */*
009e: Content-Length: 997
00b3: Expect: 100-continue
00c9: Content-Type: multipart/form-data; boundary=--------------------
0109: --------f1481e877d96
011f:
<= Recv header, 23 bytes (0x17)
0000: HTTP/1.1 100 Continue
=> Send data, 346 bytes (0x15a)
0000: ------------------------------f1481e877d96
002c: Content-Disposition: form-data; name="type"
0059:
005b: xml
0060: ------------------------------f1481e877d96
008c: Content-Disposition: form-data; name="token"
00ba:
00bc: 99SADAFSDFJ
00c9: ------------------------------f1481e877d96
00f5: Content-Disposition: form-data; name="file"; filename="prikaz.xm
0135: l"
0139: Content-Type: application/xml
0158:
=> Send data, 603 bytes (0x25b)
0000: <?xml version="1.0" encoding="UTF-8"?> <Import xmlns:xsi="http:/
0040: /www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocati
0080: on="http://www.fio.cz/schema/importIB.xsd"> <Orders> <DomesticTr
00c0: ansaction> <accountFrom>1234562</accountFrom> <currency>CZK</cur
0100: rency> <amount>100.00</amount> <accountTo>2212-2000000699</accou
0140: ntTo> <bankCode>0300</bankCode> <ks>0558</ks> <vs>1234567890</vs
0180: > <ss>1234567890</ss> <date>2013-04-25</date> <messageForRecipie
01c0: nt>Hra..ky pro d..ti v PENNY MARKET</messageForRecipient> <comme
0200: nt></comment> <paymentType>431001</paymentType> </DomesticTransa
0240: ction> </Orders> </Import>.
=> Send data, 48 bytes (0x30)
0000:
0002: ------------------------------f1481e877d96--
Examply mluvi za vse... To same to, ze to chteji jako multipart/form-data... Ale kdyz uz o tom nic nevis, tak aspon vypsat trace z toho curl, ktery tam primo ukazujou vcetne ukazkoveho xml