ven. 08 janvier 2016, 12h57
Francis Faure
France
atoutfox.public.association
Re: Envoyer une photo dans un fichier xml
Olivier,
Pour te répondre ; il faudrait un peu plus d'informations...
ton "cVerb" est un POST ?
L'url et les Paramètres : as tu un lien de sa documentation ?
L'url en question attend quoi comme données ?
Avant ton Send() tu n'a pas un SetRequestHeader() ?
Ton send avec directement le binaire me parait bizarre : n'as tu pas à préciser un truc du style "Content-Type: application/octet-stream" ?
Cordialement
Francis
Le ven. 08 janvier 2016, 12h30 OlivierH a écrit :
> Merci Francis
>
>
> m.oHTTP = createobject("WinHTTP.WinHTTPRequest.5.1")
> m.oHTTP.Open(this.cVerb,this.cURL+this.cUrlParam, this.bAsync)
>
> m.oHTTP.Send("test")
>
> ou
> m.oHTTP.Send(strconv("test",13))
> m.oHTTP.Send(strconv("test",9))
>
> rien ne marche ,
>
> Alors que ca ci dessous , cela fonctionne bien sur mon image est vide
> mais le fichier est crée.
>
> m.oHTTP.Send()
>
>
> As tu une idée ?
>
> Olivier,
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000017127