Finish HTTP tests and adjust APIs to allow them to pass

This commit is contained in:
Marc Di Luzio 2020-06-13 13:18:22 +01:00
parent ba52458fd6
commit 187a0a6165
6 changed files with 117 additions and 48 deletions

View file

@ -41,7 +41,8 @@ service Rove {
// Gets the radar output for the given rover
rpc Radar(RadarRequest) returns (RadarResponse) {
option (google.api.http) = {
get: "/radar"
post: "/radar"
body: "*"
};
}
@ -50,7 +51,8 @@ service Rove {
// Gets information for the account's rover
rpc Rover(RoverRequest) returns (RoverResponse) {
option (google.api.http) = {
get: "/rover"
post: "/rover"
body: "*"
};
}
}