diff --git a/src/pub_sub_stream/cps_recv_admin.cc b/src/pub_sub_stream/cps_recv_admin.cc index 1bb89d95f74c625ca656c7917eb11380b5487eab..403dff4f34ea6cbef3246adb448e71589fdf4cc5 100644 --- a/src/pub_sub_stream/cps_recv_admin.cc +++ b/src/pub_sub_stream/cps_recv_admin.cc @@ -209,8 +209,12 @@ namespace cps_admin "type=\"submit\" value=\"Clear CRC " "Counters\"/></form>\n"; os << "<h3>Channel List<h3>\n"; - os << "<p>View the <a href=\"/channels/\">channel list as " - "json</a> (may bog down the browser).</p>\n"; + os << "<p>Warning, requesting the channel list may bog " + "down your browser and has been seen to introduce " + "CRC errors</p>\n"; + os << "<form method=\"POST\" action=\"/channels/\"><input " + "type=\"submit\" value=\"Request List (JSON)\" " + "/></form>\n"; } else { @@ -276,9 +280,9 @@ namespace cps_admin response_type handle_channel_view( ) { - if ( req_.method( ) != http::verb::get ) + if ( req_.method( ) != http::verb::post ) { - return bad_req_type( "Only GET supported" ); + return bad_req_type( "Only POST supported" ); } std::ostringstream os;