GithubHelp home page GithubHelp logo

mql4-web's Introduction

MQL4-WebRequest

A module for handling WebRequest function comfortably with MQL4.

Requirement

  • stdlib.ex4(Defult Library file)

Install

  1. Download Web.mqh
  2. Save the file to /MQL4/Include/mql4_modules/Web/Web.mqh

Usage

Include the Web.mqh. If you want to access HTTP by GET, call get method.

Web::get("URL", Variable of receive the result);

If you want to access HTTP by POST, call post method.

Web::post("URL", Variable of receive the result);

If you want to request with a parameter, set the parameter with the addPrameter method beforehand.

Web::addParameter(key, value);

mql4-web's People

Contributors

ggjiwabuchi avatar keisukeiwabuchi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mql4-web's Issues

How to add Authorization to the GET and POST Method in MQL4

Hello,

I had used your Web.mqh which works fine for method Get without adding any parameters..

I would like to know how to add Bearer Token for Authorization to the Method GET in MQL4.

Below Visual Studio C# Code works fine

image

The highlighted one is the Bearer Token which I need to provide to get the successful response.
Kindly let me know how to add this bearer token in the MQL4 code.
Thanks & Regards,
Naren

Little help

Hello,
I find the principle very nice, but a little problem of understanding on my part.
I want to do a simple get request to understand with the command: Web :: get ("URL", Variable of receive the result);
I have a php file on the remote server with a simple echo "test"; and or echo $_GET['test']; for Web::addParameter("test", "mt4 test"); before request get.
why must we pass a value here: Variable of receive the result?
I don't quite understand how to receive the answer and correct send.

Can you give me this little information?
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.