13 lines
318 B
C++
13 lines
318 B
C++
// Route: POST /agent/registry/gateways/get
|
|||
|
|
#include "agent/registry/cases.hpp"
|
||
|
|
|
||
|
|
using namespace molo::example::test;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
check_google_post_route("/agent/registry/gateways/get",
|
||
|
|
"{\"id\":\"gw1\"}",
|
||
|
|
"{\"id\":\"../x\"}",
|
||
|
|
"bad gateway id");
|
||
|
|
return finish("agent/registry/gateways/get");
|
||
|
|
}
|