Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced "-" with "_" #34

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
[![Travis Badge](https://travis-ci.org/sendgrid/csharp-http-client.svg?branch=master)](https://travis-ci.org/sendgrid/csharp-http-client)
[![Travis Badge](https://travis_ci.org/sendgrid/csharp_http_client.svg?branch=master)](https://travis_ci.org/sendgrid/csharp_http_client)

**Quickly and easily access any RESTful or RESTful-like API.**
**Quickly and easily access any RESTful or RESTful_like API.**

If you are looking for the SendGrid API client library, please see [this repo](https:/sendgrid/sendgrid-csharp).
If you are looking for the SendGrid API client library, please see [this repo](https:/sendgrid/sendgrid_csharp).

# Announcements

All updates to this project is documented in our [CHANGELOG](https:/sendgrid/csharp-http-client/blob/master/CHANGELOG.md).
All updates to this project is documented in our [CHANGELOG](https:/sendgrid/csharp_http_client/blob/master/CHANGELOG.md).

# Installation

## Prerequisites

- .NET version 4.5.2
_ .NET version 4.5.2

## Install Package

To use CSharp.HTTP.Client in your C# project, you can either <a href="https:/sendgrid/csharp-http-client.git">download the SendGrid C# .NET libraries directly from our Github repository</a> or, if you have the NuGet package manager installed, you can grab them automatically.
To use CSharp.HTTP.Client in your C# project, you can either <a href="https:/sendgrid/csharp_http_client.git">download the SendGrid C# .NET libraries directly from our Github repository</a> or, if you have the NuGet package manager installed, you can grab them automatically.

```
PM> Install-Package SendGrid.CSharp.Http.Client
PM> Install_Package SendGrid.CSharp.Http.Client
```

Once you have the library properly referenced in your project, you can include calls to them in your code.
For a sample implementation, check the [Example](https:/sendgrid/csharp-http-client/tree/master/Example) folder.
For a sample implementation, check the [Example](https:/sendgrid/csharp_http_client/tree/master/Example) folder.

Add the following namespace to use the library:
```csharp
Expand Down Expand Up @@ -54,7 +54,7 @@ using Newtonsoft.Json;
globalRequestHeaders.Add("Authorization", "Bearer XXXXXXX");
dynamic client = new Client(host: baseUrl, requestHeaders: globalRequestHeaders);
string queryParams = @"{'Hello': 0, 'World': 1}";
requestHeaders.Add("X-Test", "test");
requestHeaders.Add("X_Test", "test");
string requestBody = @"{'some': 1, 'awesome': 2, 'data': 3}";
Object json = JsonConvert.DeserializeObject<Object>(requestBody);
var response = await client.your.api._(param).call.post(requestBody: json.ToString(),
Expand All @@ -67,32 +67,32 @@ Console.WriteLine(response.Headers.ToString());

# Usage

- [Example Code](https:/sendgrid/csharp-http-client/blob/master/Example/Example.cs)
_ [Example Code](https:/sendgrid/csharp_http_client/blob/master/Example/Example.cs)

## Roadmap

If you are interested in the future direction of this project, please take a look at our [milestones](https:/sendgrid/csharp-http-client/milestones). We would love to hear your feedback.
If you are interested in the future direction of this project, please take a look at our [milestones](https:/sendgrid/csharp_http_client/milestones). We would love to hear your feedback.

## How to Contribute

We encourage contribution to our projects, please see our [CONTRIBUTING](https:/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md) guide for details.
We encourage contribution to our projects, please see our [CONTRIBUTING](https:/sendgrid/csharp_http_client/blob/master/CONTRIBUTING.md) guide for details.

Quick links:

- [Feature Request](https:/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.mdCONTRIBUTING.md#feature_request)
- [Bug Reports](https:/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#submit_a_bug_report)
- [Sign the CLA to Create a Pull Request](https:/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#cla)
- [Improvements to the Codebase](https:/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#improvements_to_the_codebase)
_ [Feature Request](https:/sendgrid/csharp_http_client/blob/master/CONTRIBUTING.mdCONTRIBUTING.md#feature_request)
_ [Bug Reports](https:/sendgrid/csharp_http_client/blob/master/CONTRIBUTING.md#submit_a_bug_report)
_ [Sign the CLA to Create a Pull Request](https:/sendgrid/csharp_http_client/blob/master/CONTRIBUTING.md#cla)
_ [Improvements to the Codebase](https:/sendgrid/csharp_http_client/blob/master/CONTRIBUTING.md#improvements_to_the_codebase)

# Thanks

We were inspired by the work done on [birdy](https:/inueni/birdy) and [universalclient](https:/dgreisen/universalclient).

# About

csharp-http-client is guided and supported by the SendGrid [Developer Experience Team](mailto:[email protected]).
csharp_http_client is guided and supported by the SendGrid [Developer Experience Team](mailto:[email protected]).

csharp-http-client is maintained and funded by SendGrid, Inc. The names and logos for csharp-http-client are trademarks of SendGrid, Inc.
csharp_http_client is maintained and funded by SendGrid, Inc. The names and logos for csharp_http_client are trademarks of SendGrid, Inc.

![SendGrid Logo](https://uiux.s3.amazonaws.com/2016-logos/email-logo%402x.png)
![SendGrid Logo](https://uiux.s3.amazonaws.com/2016_logos/email_logo%402x.png)