fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    HTTP Response

    Questions & Answers
    3
    6
    1883
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      trading71 @fxDreema last edited by

      @fxDreema
      Hi, i have the same problem, how did you fixed it?

      thanks

      1 Reply Last reply Reply Quote 0
      • C
        camhawk last edited by

        Hi,

        I'm trying to reference a response from a webpage that I'm pinging with the "Send HTTP Request" block. The response is coming back and showing in the Alerts window, but is showing the number Zero in the Comments block. The main problem is that HTTP Response is not being recognized in the Conditions block, or it's only recognizing 0.

        Here's the setup which references the only text on the webpage which is "SBUOB"

        http://prntscr.com/a4bvdi

        And the response come through in the alert ok:

        http://prntscr.com/a4bw6g

        But the Condition block does not pass. If I send it direct to the Comment only it shows "0":

        http://prntscr.com/a4bwtg

        Any ideas why it's not seeing the response as SBUOB and unable to reference it in the Conditions block?

        Cheers

        Cam

        Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

        I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

        To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          I think it works now. There was a problem with one data type

          T 1 Reply Last reply Reply Quote 0
          • C
            camhawk last edited by

            Thanks, it works now!

            Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

            I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

            To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              This was back in 2016, I have no idea how I fixed it. Now it could be different problem. I will take a look

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                I tried the block and it works for me.

                First you must add the URL in the options in MT4.
                Then in the block you can write delimiter, any single symbol, for example comma. Then you would expect the response from the server as comma-separated values. For example "value1,value2,value3".
                Then when you get the answer, if you set the key to be 0, then "value1" will be read. If the key is 1, then "value2" will be read. And so on...

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Online Users

                K
                C
                E
                M
                F
                T
                M

                19
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors