- [Route("api/v1/DRS/FileUpload/GetAttribues/{groupName}/{typeName}")]
- [HttpGet]
- public async Task
- GetAttribues(HttpRequestMessage Attri)
- {
- Debugger.Launch();
- try
- {
- using (HttpClient client = new HttpClient())
- {
- client.DefaultRequestHeaders.Accept.Clear(); //String
- path=Request.Url.GetLeftPart(UriPartial.Path);
- HttpResponseMessage response = await client.GetAsync("http://localhost:8089/document/getattributes/" +);
- if (response.IsSuccessStatusCode)
- {
- Console.Write("Success");
- }
- else
- {
- Console.Write("Failure");
- }
- return response;
- }
- }
- catch (Exception e)
- {
- throw e;
- }
Loading
Guest UserPosted Jul 18, 2019, 4:37 AM
Arya rajPosted Jul 18, 2019, 4:49 AM