Jump to content

ZigZig

uniGUI Subscriber
  • Posts

    352
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by ZigZig

  1. Hi Abaksoft,

     

    Thank you for you quick answer!  

    Yes, it was a long time, I've been through some turmoil in recent years, but everything is fine now ... and I have always continued to work well thanks to uniGUI :)
    All Belgian schools are now equipped with a modern ERP thanks to this wonderful framework.

    Hope all is well for you and your family too!

     

    EDIT: this source code is really amazing too, but I was actually searching for this one: http://www.energiazero.org/app/responsive.dll/m.   

  2. Hi,

    A friend gave me the answer:

    procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
      ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
      var Handled: Boolean);
    begin
      try
        if (ARequestInfo.PostStream <>nil) then aRequestContent:=ReadStringFromStream(ARequestInfo.PostStream)
        else aRequestContent:='nil';
        
        // DO WHAT YOU NEED WITH aRequestContent
        
        AResponseInfo.ResponseNo := 200;
        Handled := True;
      except
        AResponseInfo.ResponseNo := 400;
      end;
    end;

    It works just fine!

  3. Hi,

    Some guy tries to send me data via this kind of cURL request (created from FileMaker Pro):

    Insert from URL [ Select ; With dialog: Off : $reply ; env ( "host") ; cURL options: "-X POST -H" & Quote ( "Content-Type: text/plain" ) & " -d " & Quote ( $body ) ]

    I need to get the content of  "$body", I tried with onHTTPCommand but I'm really a newbie in this matter.

    Could someone explain to me how I can manage this stuff?

     

    Thank you VERY much!

  4. Hi,

     

    Click on "Add a rule", then fill the pop-up window as shown in this screenshot (it is the French-translated version of URLRewrite because my Windows Server is on a French server, but you'll find the same fields in the same place in English).

    Don't forget to check the two checkboxes in the bottom of the screen.

     

    More détails here: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module

     

     

     

    post-895-0-70972900-1496940905_thumb.png

×
×
  • Create New...