Share financial incentives and about solar technology.
HTTP POST http://api.opensolar.org/V1/incentive
{
"incentive":
{
"item":"http:\/\/api.opensolar.org\/V1\/question\/892342",
"text":"You defintely can do that. Just start by looking it up here."
}
}
If the request is successful, the API will return the HTTP 201 (Created) status code containing a Location header pointing to the URI of this newly created resource.
Location: http://api.opensolar.org/V1/incentive/124214
If there has been an error, the service will return the appropriate HTTP status code - most likely a 400 (Bad Request), 401 (Unauthorized) or 403 (Forbidden) error. See the Developer Authorization page for details on how to submit authenticated API requests.