-
Notifications
You must be signed in to change notification settings - Fork 11
API name
Manuel Strehl edited this page Aug 2, 2013
·
6 revisions
Template for this request:
http://codepoints.net/api/v1/name/{codepoint}{?callback}
where {codepoint}
is a hexadecimal number.
{?callback}
is an optional callback function name to perform a JSON-P
request.
The response is the name of the codepoint as string. An appended asterisk
signifies, that this is not the value of the codepoint’s na
field but
a composition from na1
and/or an alias name.
If the request does not contain the Accept: application/json
header or a {?callback}
parameter, the
response will be text/plain
.
- 400 Bad Request: If the value for
{codepoint}
is not a valid hexadecimal number. - 404 Not Found: If the value for
{codepoint}
is no recognized codepoint (but a valid hexadecimal number).