Skip to content

Commit fe1766b

Browse files
author
Greg Brown
committed
Update README.md.
1 parent 53490c2 commit fe1766b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Return values may be any JSON type, including string, number, boolean (true/fals
2121

2222
An HTTP 200 is returned on successful completion, and HTTP 500 is returned in the case of an error (i.e. an exception). Note that exceptions are intended to represent unexpected failures, not application-specific errors. No other HTTP status codes are supported.
2323

24-
Services may return a optional JSON descriptor that documents the methods provided by the service. If supported, a GET request for the base service URL should produce a response of the following form:
24+
Services may return a optional JSON descriptor that documents the methods provided by the service. If supported, the descriptor should be of the following form, and should be returned by a GET request for the base service URL:
2525

2626
[
2727
{
@@ -40,11 +40,7 @@ Services may return a optional JSON descriptor that documents the methods provid
4040
...
4141
]
4242

43-
For example, a GET for the following URL:
44-
45-
http://example.com/rpc/math
46-
47-
might produce a response similar to the following:
43+
For example, a descriptor for the hypothetical math service might look something like this:
4844

4945
[
5046
{
@@ -78,6 +74,10 @@ might produce a response similar to the following:
7874
}
7975
]
8076

77+
and could be obtained by a request for the following URL:
78+
79+
http://example.com/rpc/math
80+
8181
## Implementations
8282
Support currently exists for implementing HTTP-RPC services in Java, and consuming services in Java, Objective-C/Swift, or JavaScript. Support for other platforms may be added in the future. Contributions are welcome.
8383

0 commit comments

Comments
 (0)