We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972f7ef commit 247a80eCopy full SHA for 247a80e
isis/src/base/objs/RestfulSpice/RestfulSpice.cpp
@@ -49,6 +49,7 @@ namespace Isis::RestfulSpice{
49
if (useWeb){
50
json args = json::object({
51
{"frameCode", frameCode},
52
+ {"sclk", sclk},
53
{"mission", mission}
54
});
55
json out = spiceAPIQuery("strSclkToEt", args);
@@ -221,6 +222,7 @@ namespace Isis::RestfulSpice{
221
222
queryString+= "&";
223
}
224
json j;
225
+ // @TODO throw exception if no json or invalid json is returned
226
client.Build()->Get(queryString).Option(CURLOPT_FOLLOWLOCATION, 1L).AcceptJson().WithCompletion([&](const restincurl::Result& result) {
227
j = json::parse(result.body);
228
}).ExecuteSynchronous();
0 commit comments