Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send UBL 2.1 via API POST
Message
De
02/12/2021 11:05:10
 
 
À
02/12/2021 06:55:27
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01682832
Message ID:
01682891
Vues:
102
This message has been marked as the solution to the initial question of the thread.
Vojislav,

Change this
boundary = "----WebKitFormBoundary7MA4YWxkTrZu0gW"   
into this
boundary = "WebKitFormBoundary7MA4YWxkTrZu0gW"   
Then, in the TEXT .. ENDTEXT structure, change all occurrences of the boundary to
--<<m.boundary>>
except for the last one, that must signal the end of form data:
--<<m.boundary>>--
In the request header, set it to
m.loXMLHTTP.setRequestHeader('Content-type', 'multipart/form-data; charset=utf-8; boundary=' + m.boundary)
Also, be sure to calculate the content length after the UTF-8 encoding.

Hopefully, this will do.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform