# Postman

### Sending a metric via HTTP POST

1. Open Postman.
2. Create a new request, set its type to *POST* and its *URL* to `https://www.hostedgraphite.com/api/v1/sink`

   <figure><img src="https://www.hostedgraphite.com/docs/_images/step2.png" alt=""><figcaption></figcaption></figure>
3. Go to the *Authorization* tab. For the authorization, type select *Basic Auth*. In the *username* field, enter your Hosted Graphite *API key*.

   <figure><img src="https://www.hostedgraphite.com/docs/_images/step3.png" alt=""><figcaption></figcaption></figure>
4. Go to the *Body* tab. Select *raw*, and enter a datapoint for your metric (you can send multiple datapoints as long as they are on separate lines). You may also include an optional Unix timestamp with your datapoint. A datapoint has the following parameters: `<metricName> <value> <optionalTimestamp>`

   <figure><img src="https://www.hostedgraphite.com/docs/_images/step4.png" alt=""><figcaption></figcaption></figure>
5. Click the *Send* button to send your datapoint. When your datapoint has been sent successfully, you will receive a response with status *202 Accepted*.

   <figure><img src="https://www.hostedgraphite.com/docs/_images/step5.png" alt=""><figcaption></figcaption></figure>

Your API key can be found on your [account home](https://www.hostedgraphite.com/accounts/profile/) page.
