diff options
author | Elmer Thomas <elmer@thinkingserious.com> | 2015-11-18 12:02:36 -0800 |
---|---|---|
committer | Elmer Thomas <elmer@thinkingserious.com> | 2015-11-18 12:02:36 -0800 |
commit | 61aa4f399cb0d14ee29d4bc8be8704bb0eaa3b84 (patch) | |
tree | 49c1fc0e147983839de0f3dea5d4e0b4d2ba8dfa | |
parent | 41ecf8fd519324678d05d90b72d5911d815006f0 (diff) | |
download | sendgrid-csharp-61aa4f399cb0d14ee29d4bc8be8704bb0eaa3b84.zip sendgrid-csharp-61aa4f399cb0d14ee29d4bc8be8704bb0eaa3b84.tar.gz sendgrid-csharp-61aa4f399cb0d14ee29d4bc8be8704bb0eaa3b84.tar.bz2 |
Documentation fixes
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -174,7 +174,7 @@ List all API Keys belonging to the authenticated user [GET] String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); var client = new SendGrid.Client(apiKey); // Leave off .Result for an asyncronous call -HttpResponseMessage responseGet = client.ApiKeys.Get().Result; // Leave off .Result for an asyncronous call +HttpResponseMessage responseGet = client.ApiKeys.Get().Result; ``` Generate a new API Key for the authenticated user [POST] @@ -211,7 +211,7 @@ HttpResponseMessage responseDelete = client.ApiKeys.Delete(apiKeyId).Result; #How to: Testing * Load the solution (We have tested using the Visual Studio Community Edition) -* In the Test Explorer, click "Run All". Tests for the Mail Send v2 endpoint are in the Tests project, while the tests for the v3 endpoints are in the UnitTests project. Selecting "Run All" from the Test Explorer will run the tests in both projects. +* In the Test Explorer, click "Run All". Tests for the Mail Send v2 endpoint are in the "Tests" project, while the tests for the v3 endpoints are in the "UnitTests" project. Selecting "Run All" from the Test Explorer will run the tests in both projects. You can also test the code by building and running our "Example" project. It will run through the examples using an interactive console. You will need your API key to run the examples against your account. |