13 lines
357 B
C++
13 lines
357 B
C++
// Route: POST /agent/registry/skills/state
|
|||
|
|
#include "agent/registry/cases.hpp"
|
||
|
|
|
||
|
|
using namespace molo::example::test;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
check_google_post_route("/agent/registry/skills/state",
|
||
|
|
"{\"id\":\"s1\",\"state\":\"active\"}",
|
||
|
|
"{\"id\":\"s1\",\"state\":\"retired\"}",
|
||
|
|
"unknown state");
|
||
|
|
return finish("agent/registry/skills/state");
|
||
|
|
}
|