13 lines
317 B
C++
13 lines
317 B
C++
// Route: POST /agent/registry/identity
|
|||
|
|
#include "agent/registry/cases.hpp"
|
||
|
|
|
||
|
|
using namespace molo::example::test;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
check_google_post_route("/agent/registry/identity",
|
||
|
|
"{\"engine_id\":\"e1\"}",
|
||
|
|
"{\"engine_id\":\"a/b\"}",
|
||
|
|
"bad engine id");
|
||
|
|
return finish("agent/registry/identity");
|
||
|
|
}
|