API CONNECT - WEBREQUEST PROBLEM

Other Entegrasyon MySQL PHP

İş tamamlandı

Tamamlanma süresi: 17 saat
Geliştirici tarafından geri bildirim
A great experience. I'd be happy to work with you again.
Müşteri tarafından geri bildirim
Vitor did an excellent job and quickly. He is also a person who can express himself very well and this facilitated the completion of the project. I wholeheartedly recommend this developer.

İş Gereklilikleri

Hello!


I'm having trouble putting together the code to connect to a database and control a query.

I created this code through some queries but I have an error when complicating code 4029.


void Check()

  {

   string uri = "END_POINT_API";

   char post[100];

   char result1[100];

   string headers;

   string APIKEY = "";

   string LICENCEKEY = "";

   int res;

   string signal = "?api_key=" + APIKEY + "&license_key=" + LICENSEKEY;

   StringToCharArray(signal, post);


// Construct the request headers

   headers = "Content-Type: application/json";  // Set the correct header format


// Reset last error

   ResetLastError();


// Post data to REST API

   res = WebRequest(

            "POST",

            uri,

            headers,        // Pass headers as a string

            10,             // Timeout in seconds

            post,

            result1,        // Store the response in result1

            headers         // Response headers (optional)

         );


// Check errors

   if(res == -1)

     {

      int error_code = GetLastError();

      string error_msg = ErrorDescription(error_code);

      Print("Error in Webquest. Error Code ",error_code," Error ",error_msg);

      if(error_code==4060)

        {

         MessageBox("Add address '"+uri+"' in Expert Advisors tab of the Options window", "Error", MB_ICONINFORMATION);

        }

      else

        {

         // Successful

         Print("REST client's POST: ", signal);

         Print("Server response: ", CharArrayToString(result1, 0, -1));

        }

     }

  }

//+------------------------------------------------------------------+


Below is the documentation of the API in which I want to query and with the result I will search for some information to validate the license of my products.



It is important to mention that I inserted my end-point in the metatrader 4 options, ruling out that this is why the connection problem occurred.



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(42)
Projeler
49
47%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
2%
Ücretsiz
2
Geliştirici 2
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
3
Geliştirici 3
Derecelendirme
(18)
Projeler
25
28%
Arabuluculuk
0
Süresi dolmuş
2
8%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(26)
Projeler
34
29%
Arabuluculuk
0
Süresi dolmuş
1
3%
Ücretsiz
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
Benzer siparişler
I want the trade to trigger anytime it sees the opportunity on all time frames, sl tp should be automated and all trades should be trigger anytime on cpi news and etc
Modify my PHP project 30 - 32 USD
Hello! I have an open source PHP code school management system which i want to use as my project. I need someone good in PHP to add some data in there. All other information is already there. I want also to print the report displayed. The data i want is: Add Address Add Father’s Name Add Mother’s Name Add Gender(To be selected with drop down) Add Academic Year. Add Receipt Number(To accept numbers and text) Then Add
I need someone to help me convert my tradingview pinescript to mt4, I only got $20 for this and I am gonna be giving you more works ahead, Also I will be paying with cryptocurrency cause my PayPal os not working here, Don't know why
I need someone to help me convert my tradingview pinescript to mt4, my budget for this project is $20 and I need this done fast in two days, Also, I am going to need you to be able to build a new indicator because that's the nest project, But I need to know if you can do this first , Thank you
I need you to convert my tradingview pinescript to mt4, I have just $10 for it now, But i am going to give you more work later on cause i still have more work i am going to need you to work on for me, and i will be paying with crypto, Thank You
Hello, I am in need of an expert to help me convert my tradingview pinescript to mt4, I will attach the file, But for now, I only got $15 for this project and the only payment method I can use right now is crypto, I will send it to you through crypto, Also I need someone that is ready to work because I still have lot of projects I will need him to do for me
I need an expert in the development of a fully automated trading robot For MetaTrader. The Trading Robot must be "Web based" so it can be accessed or used through a website, You can view a screenshot here; https://www.awesomescreenshot.com/image/48030918?key=79b0ff91455d862746e9b649341f4cdb Why do i need? Simple Enough, This is what i need from my Trading Robot EA. The Trading Robot can only be accessed through a
Hello, I need a quote for developing a bot for my renko based trading system on ctrader platform and based on the attached specification your expertise is highly needed for this project Thanks
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD