mazluta
Members-
Content Count
38 -
Joined
-
Last visited
Everything posted by mazluta
-
Hi, I use this DLL and it give good support and good documentation + examples
-
PDF File Send as Base64 from c# to Delphi REST
mazluta replied to mazluta's topic in Network, Cloud and Web
Hi mvanrijnen i dont think it's the CRLF. The + sign is replace with the Space sign (43 --> 32) -
PDF File Send as Base64 from c# to Delphi REST
mazluta replied to mazluta's topic in Network, Cloud and Web
Hi Remy I Could not figure out how to Send binary data from C# to Delphi REST? -
PDF File Send as Base64 from c# to Delphi REST
mazluta replied to mazluta's topic in Network, Cloud and Web
Ok, it looks like I figured it out. but I am not sure it works for every c# version 🙂 (can't trust Windows developer). The Base64FormattingOptions_None.txt file contains the text of base64 created in C# before sending it to Delphi Rest. The ThisWhatDelphiRestGet.txt file contains the base64 text that Delphi rest moves to my var after Http Request envoke. The LogBase64Different.txt contains the differences Including Char No# and The Char ItSelf. It looks like DELPHI REST replaced the ASCII 43 to 32 or the HTTP request of the C# sent ASCII 32 instead of ASCII 43. So, If The Request comes from C#, I just convert all appearances of ASCII char 32 to 43, then save The PDF, and all work. SetLength(MyBytesArr,Length(PdfBase64)); MyBytesArr := TEncoding.ASCII.GetBytes(PdfBase64); for CurChar := 1 to Length(PdfBase64) do begin if Ord(MyBytesArr[CurChar]) = 32 then MyBytesArr[CurChar] := byte(43); end; PdfBase64 := TEncoding.ASCII.GetString(MyBytesArr); Can I Trust That Solution? Or I Missed Something? Thanks, Yossi Base64FormattingOptions_None.txt ThisWhatDelphiRestGet.txt LogBase64Different.txt -
PDF File Send as Base64 from c# to Delphi REST
mazluta replied to mazluta's topic in Network, Cloud and Web
He remy. 1. I will prepare a text file that holds what c# sends and what Delphi Rest reads. 2. how do I send PDF as binary data from C# to Delphi Rest? 3. dose it matter if the C# is AnyCPU or X64 and the rest is x86? Thanks, Yossi -
i just create rest service with authoticate entry. the default login form look like this : how can i change the login form as i want and control the form shape? lables, headers, positions
- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
mazluta replied to mazluta's topic in VCL
well programmer..2k. that work. thanls b.t.w you are not so selfishness- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
mazluta replied to mazluta's topic in VCL
thanks. i will try it- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
mazluta replied to mazluta's topic in VCL
".....customization can be done on events before send to client, or using a frameworks (3rd) like done by Intraweb, UniGui, etc... ....." can i write Web Service with UNIGUI ?- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
mazluta replied to mazluta's topic in VCL
I just want the Login form to look like this :- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
mazluta replied to mazluta's topic in VCL
first, thanks. I use my rest to get a PDF file as base64, a digital sign with some digital certificate. based on the user's table I want to popup him with the login form. but I don't want him to see the "Server Function.." label.- 10 replies
-
hi. i have this algorithm the web app witen with unigui. the web service writen with delphi using webbroker. when i run the app in my local machine and run the web app from the browser it talks to the web service as should. when i run the app from the cloud, the browser says: what do i miss?
-
Hi mjustin first thanks. even if the FireWall is down it does not working. when i run the site from the browser from "local site" like localhost:8077 it work when i run from hanibaaldemos.com:8077 then it fails to locate the WebService in my local host