diff --git a/README.md b/README.md index 4f65104..adc6fb6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +Note: THIS IS NOT PRODUCTON CODE. This SDK is example code to get you started making programmatic calls to AlchemyAPI. + ================================ AlchemyAPI .NET SDK: version 0.10 ================================ @@ -12,10 +14,10 @@ MONO INSTALLATION -To compile this module, enter the "module" directory and run the "build.sh" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.sh" script. -To install this module, copy the AlchemyAPI.dll file into your desired +To install this module, copy the AlchemyAPI.dll file created from the previous step into your desired .NET import directory, or set your MONO_PATH environment variable to point to the directory containing the compiled AlchemyAPI.dll file. @@ -29,7 +31,7 @@ and other tasks. All code samples are within the "example" directory. To run these code samples you must first edit the (example/api_key.txt) file, -adding your assigned Orchestr8 API key. +adding your assigned AlchemyAPI API key. Compiling Code Samples: @@ -70,10 +72,10 @@ Windows .NET INSTALLATION -To compile this module, enter the "module" directory and run the "build" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build" script. -To install this module, copy the AlchemyAPI.dll file into your desired +To install this module, copy the AlchemyAPI.dll file generated from the previous step into your desired .NET import directory. For purposes of running examples, the dll is copied into the example folder. @@ -86,7 +88,7 @@ and other tasks. All code samples are within the "example" directory. To run these code samples you must first edit the (example/api_key.txt) file, -adding your assigned Orchestr8 API key. +adding your assigned AlchemyAPI API key. Compiling Code Samples: diff --git a/example/api_key.txt b/example/api_key.txt new file mode 100644 index 0000000..e69de29 diff --git a/module/AlchemyAPI.cs b/module/AlchemyAPI.cs index 4b7a25d..a936ec6 100644 --- a/module/AlchemyAPI.cs +++ b/module/AlchemyAPI.cs @@ -888,7 +888,7 @@ private string GET(string callName, string callPrefix, AlchemyAPI_BaseParams par Uri address = new Uri (uri.ToString()); HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest; - wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy(); + wreq.Proxy = null; byte[] postData = parameters.GetPostData(); @@ -913,7 +913,7 @@ private string POST(string callName, string callPrefix, AlchemyAPI_BaseParams pa Uri address = new Uri (_requestUri + callPrefix + "/" + callName); HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest; - wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy(); + wreq.Proxy = null; wreq.Method = "POST"; wreq.ContentType = "application/x-www-form-urlencoded";