-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
I hadn’t heard any news concerning the US interest in Greenland in so long that I thought that issue was shelved. I’m surprised to hear new statements from our president about continued interest in what, exactly, […]
-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
Go ahead, Kim, tell me how you really feel! ;-)) Seriously, thanks for sharing your perspectives. As someone who voted for DJT (twice!), I can confidently share that I’m not a huge fan, and could enumerate […]
-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
I just heard that there was an interest in rare earth minerals in Greenland. Apparently that is no longer an issue, as the US has both internal and external resources that negate that need. You might find this […]
-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
Since I’m in the US, I don’t really have a feel for what the citizens of Denmark are feeling about Trump’s expressed interest in Greenland. However, if you think that the operation in Venezuela has any relation, […]
-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
Are you referring to his expressed interest in Greenland?
-
Decoder commented on the post, United by the Crown, Not Bought by the Dollar 9 months, 1 week ago
Hey Kim! A long-time, satisfied US customer… what is this little post about? Care to elaborate?
-
Decoder commented on the post, The evolution of ChatGPT 11 months, 3 weeks ago
Chatgpt doesn’t fully support Delphi code, I believe that Claude is the only AI that claims to know Delphi, have you tried it there?
-
Decoder started the topic Migration from ASTA to kbmMW – Documents? in the forum kbmMW 1 year, 11 months ago
The company I’m working for currently has an analysis phase ongoing for a project to update an old, huge ASTA client & ASTA server app to Delphi 12, currently it’s on Delphi 2007.
I’ve recommended kbmMW as the replacement for ASTA as in my experience it is a more similar experience to ASTA than ROSDK. However, the analyst group’s lead…[Read more]
-
Decoder commented on the post, REST easy with kbmMW #24 – XML, JSON or YAML to object conversion 4 years, 3 months ago
Is this capability available in kbmMW 5.08.10?
-
Decoder replied to the topic Download file via REST service call? in the forum kbmMW 7 years, 7 months ago
Thanks Kim. By the time you posted this I had figured it out. Good example though.
In researching this I found the following mime type:
vnd.android.package-archive
The reason this is relevant is because my ‘zip’ file is an apk. Which is essentially a zip file, with a custom extension. I didn’t find that mime type in kbmMWCustomHTTPService.pas,…[Read more]
-
Decoder replied to the topic Download file via REST service call? in the forum kbmMW 7 years, 8 months ago
Ok, figured that out, it’s the AMapPath: Boolean = True param in HTTPResponseFromFile that was messing me up.
Now I get the file, but the client treats it as a web page, even though I’ve specified the content type as responseMimeType:”application/octet-stream”,
and displays the content of the zip file in the browser view.
So I guess I’m looki…[Read more]
-
Decoder replied to the topic Download file via REST service call? in the forum kbmMW 7 years, 8 months ago
I found this:
function HTTPResponseFromFile(const APath:string; const AAsFileName:string; const AMapPath:boolean = true):variant; overload;
…in the public interface of TkbmMWCustomHTTPService. I added a file pool to my smart service, creating it in the constructor with the service as the owner, and set the properties to match the properties…[Read more]
-
Decoder started the topic Download file via REST service call? in the forum kbmMW 7 years, 8 months ago
I’m trying to distribute an application file via our kbmMW REST service. Do you have any documentation on how this can be done? Do I need to create a separate File Service using the file pool components? Or is there a way to do it via HTTPS inside of a REST service?
Here’s an example of what I tried to…[Read more]
-
Decoder started the topic REST Service encryption supporting Android/iOS encryption in the forum kbmMW 7 years, 9 months ago
Hi Kim!
We’ve are attempting to interface a mobile app on both Android and iOS with our encryption scheme.
We’re using a custom http header to hold an encrypted, base64 encoded string.
I noticed that CFB 8-bit appears to be the encryption method for Rijndael/AES by default. We’re using a salt to further secure the string.
We are having a…[Read more]
-
Decoder replied to the topic REST request http header – how to read/write? in the forum kbmMW 7 years, 9 months ago
Hi Kim!
I’ve included code below that illustrates how I coded this process. If I understood you correctly, I’m responsible for freeing the kbmMemTable’s that I create in the methods below, correct?
Thanks
[kbmMW_Service(‘name:<myServiceName>, flags:[listed]’)]
[kbmMW_Rest(‘path:/<myPath>’)]
TMyService =…[Read more] -
Decoder replied to the topic REST request http header – how to read/write? in the forum kbmMW 7 years, 10 months ago
Thanks Kim –
In the intervening time between my post and your response, I found the helper and had started to try to work with it. Your timely blog post helped shorten the curve. 🙂
Just an FYI, in trying to load test a server I run multiple instances of a client app that runs a sequential loop, iterating through the list of available methods…[Read more]
-
Decoder started the topic REST request http header – how to read/write? in the forum kbmMW 7 years, 10 months ago
In the TIdHTTP component, I can create custom header entries. I can also read the entire http header in one shot in THTTPRequest, TIdHTTPServer, TIdHTTP etc. I have been scouring the kbmMW source trying to figure out how to read and write the REST http header using the TkbmMWIndyTCPIPServer transport, the TkbmMWHTTPSmartService, the TkbmMWServer…[Read more]
-
Decoder became a registered member 7 years, 10 months ago
