Reply to Thread

Post a reply to the thread: Post To Http

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-26-2014, 09:13 AM
    willie53

    Re: Post To Http

    Lol, we text each other all time on fb.

    I just don't like to abuse a friendship, I will stand in line like all the others when asking for help.
  • 04-26-2014, 02:19 AM
    linder

    Re: Post To Http

    Oops. I've looked up your user name and now I see who you are
  • 04-26-2014, 01:51 AM
    linder

    Re: Post To Http

    Perfect !!! Thank YOU so much

    Friedrich
  • 04-25-2014, 05:39 PM
    willie53

    Re: Post To Http

    Fred,
    YOU ARE A GENIUS!!!!! ANDDDDDDDDDDDDDDDDD
    MY HEROOOOOOOOOOOOO!!!!!

    Thank you , Thank you and did I say Thank you??? Never Mind... here it goes again.. THANK YOU.

    This is exactly what I needed..
  • 04-25-2014, 08:32 AM
    linder

    Re: Post To Http

    Hello,

    If you have an active SB maintenance and support plan subscription, you can download the following development build free-of-charge:

    http://www.lindersoft.com/sb8/sb81_4399_Dev.exe

    This build #4399 supports the new HTTP contents function.

    Friedrich
  • 04-25-2014, 05:19 AM
    linder

    Re: Post To Http

    Hello,

    I think I know where you are coming from. As I understand it, you do not only want the HTTP header response (that is what %_SB_RETURNEX% holds) but you would like to retrieve the HTTP contents, right?

    For example, the following POST method:

    http://www.cs.tut.fi/cgi-bin/run/~jk...lt.cgi?m=4&n=9

    The server returns (HTTP contents):

    "Multiplication results
    The product of 4 and 9 is 36"


    In the current SB81, you can only retrieve the HTTP header without the contents.

    But we have changed it now in our latest internal version so you can retrieve the contents in the %_SB_RETURN% runtime variable. Please see the attached screenshot. The left dialog can't retrieve the HTTP contents, the right dialog (compiled with the latest internal SB version) holds the server contents response (#2).

    Would this help in your case?

    Friedrich
  • 04-24-2014, 05:39 AM
    linder

    Re: Post To Http

    Hello,

    I'll answer your question with an example later today or tomorrow.

    Friedrich
  • 04-23-2014, 05:39 PM
    willie53

    Post To Http

    I know there are 3 variables that can receive information back from a post..
    > If the function succeeds, the %_SB_ERRORCODE% return value is zero.
    > If the function succeeds, the %_SB_RETURN% variable value holds the server response.
    > If the function succeeds, the %_SB_RETURNEX% variable value holds the complete HTTP response.
    > If the function fails, the return value is nonzero.

    But no matter what I send back, it never shows up in the returnex..
    I tried xml format, strings, in the header, body.. nothing seems to work..

    What's the secret to received the response back ? how does my server send it ?

    Thanks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •