Api-ng sample code software

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pikkas.
    Junior Member
    • May 2012
    • 7

    #1

    Api-ng sample code software

    Guys, i am trying to run the cSharp sample software that is provided by https://api.developer.betfair.com. I am providing the appkey and the session token and for some reason is not getting any results back , bear in mind that i did not touch the code. i am attaching the request and the response debuging variable screenshots. Btw the last time i run this program was 5-6 months ago and was running properly. is there anything changed during this period?.
    Attached Files
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Yes - please see https://forum.bdp.betfair.com/showthread.php?t=2901

    Comment

    • pikkas.
      Junior Member
      • May 2012
      • 7

      #3
      Thank you for the quick response. yes i am talking about this sample code, this is the csharp software that i have

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        You need to make the required changes for the Expect:100 Continue change (as per the forum link that was in the previous message).

        You cannot access the API properly from .NET without making this change.

        Comment

        • pikkas.
          Junior Member
          • May 2012
          • 7

          #5
          Thank you. Below is the code

          Code:
          static void Main(string[] args)
                  {
                      
                      System.Net.ServicePointManager.Expect100Continue = false;

          Comment

          Working...
          X