/// <summary> /// Send query /// </summary> protected async Task <dynamic> Query(dynamic inputs) { var query = Convert.ToBase64String(ConversionManager.Bytes(ConversionManager.Serialize(inputs))); var queryHeaders = new Dictionary <dynamic, dynamic>() { ["Cache-Control"] = "no-cache", ["Accept"] = "application/json", ["X-GEMINI-APIKEY"] = Token, ["X-GEMINI-PAYLOAD"] = query, ["X-GEMINI-SIGNATURE"] = ConversionManager.Sha384(query, Secret) }; return(ConversionManager.Deserialize <dynamic>(await _serviceClient.Post(Source + inputs.request, null, queryHeaders))); }