Future<dynamic> putJson(String path, {Object? body}) async => _decode( await http.put(_url(path), headers: _headers(), body: _encode(body)), );