06-01-2021, Saat: 21:38
Gittigidiyor soap servisini kullanmam gerekti. Soap UI ile post işlemini yapabiliyorum ancak bunu idhttp ile yapamadım forumdaki bazı konular var ancak yine bir sonuca ulaşamadım. Soap Uı ile post sonrası
aldığım hata ise
IdHTTP.Request.CustomHeaders.UnfoldLines := True; rbody2:=TStringStream.Create(memo1.Text); IdHTTP.IOHandler := sSSL; IdHTTP.ProtocolVersion :=pv1_1; IdHTTP.Request.Connection:='Keep-Alive'; IdHTTP.Request.Accept := 'gzip, deflate'; IdHTTP.Request.ContentType := 'text/xml;charset=UTF-8'; IdHTTP.Request.ContentEncoding := 'utf-8'; IdHTTP.Request.ContentLength:=Length(UTF8Encode(memo1.Text)); IdHTTP.Request.BasicAuthentication := true; IdHTTP.Request.Host:='dev.gittigidiyor.com:8443'; IdHTTP.Request.CustomHeaders.Add('Authorization: Basic blabla'); sonuc:=IdHTTP.Request.ToString; sonuc:= IdHTTP.Post('https://dev.gittigidiyor.com:8443/listingapi/ws/IndividualSaleService' , rbody2); showmessage(sonuc);
aldığım hata ise