Solar Questions

Share questions about solar technology.

Create Question

HTTP POST http://api.opensolar.org/V1/question

Example JSON passed in via POST

{
    "question":
    {
	"text":"Who is the best installer in Santa Barbara?"
    }
}

Response

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.

Example

Location: http://api.opensolar.org/V1/question/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.