This page allows you to explore the SolarNetwork web
API. Fill in your SolarNetwork authorization token and
server details on the left, then use the API templates
to fill in an API URL to call. Replace any template
parameters (for example, replace
{nodeId} with your node's ID). Then click
the Execute button to submit the query and
display the results at the bottom. The source code for
this app is
available on GitHub.
This shows the the
computed
HTTP Authorization header:
The following sections detail the steps taken to
generate the
Authorization header.
This shows the canonical request message that is hashed and included in the authorization message:
This shows the signing message that is hashed to form the authorization signature value:
This shows the hex-encoded
signing key
used to sign the message, derived from the token
secret using a signing date value of
YYYYMMDD:
This shows a curl command to make the
same HTTP request: