public string Post([FromBody] int userid, [FromBody] string email, [FromBody] string token) { string retvel = string.Empty; DbConnect masterobj = new DbConnect(); // string header = Convert.ToString(HttpContext.Current.Request.Headers["Token"]); // if (header == ValidateToken()) // { masterobj.AddUserPayments(userid, email, token); retvel = ResponseOk.Replace("[message]", "\"Payment Saved.\""); //} // else // { // retvel = ResponseErr.Replace("error occurred", "Invalid Token!"); // } return(retvel); }