updated RPC command to match javascripting language
Dependencies: EthernetInterface HTTPServerExample mbed-rpc mbed-rtos mbed
Fork of EthHTTPServer by
Diff: main.cpp
- Revision:
- 7:a6e27f5a8d74
- Parent:
- 6:fde802d0f163
diff -r fde802d0f163 -r a6e27f5a8d74 main.cpp --- a/main.cpp Fri Dec 06 18:20:02 2013 +0000 +++ b/main.cpp Fri Dec 06 18:29:25 2013 +0000 @@ -27,7 +27,7 @@ HTTPFsRequestHandler::mount("/local/", "/"); // Mount /local/ filesystem as root web path / svr.addHandler<HTTPFsRequestHandler>("/"); // Serve all default HTTP requests - svr.addHandler<HTTPRpcRequestHandler>("/RPC"); // Serve all RPC requests + svr.addHandler<HTTPRpcRequestHandler>("/rpc"); // Serve all RPC requests // Initialize the EthernetInterface and initiate a connection using default DHCP.