Unverified Commit 0a0de3e9 authored by Marius Göcke's avatar Marius Göcke
Browse files

update in controller to make request-body usable

parent 74824e80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ namespace SimpleOCR.Service.Core.Controller
        }

        [Authenticate]
        [HttpGet]
        [HttpPut]
        [Route(nameof(GetOCRContent))]
        [ProducesResponseType(typeof(string), StatusCodes.Status200OK)]
        public IActionResult GetOCRContent([FromBody] byte[] fileContent, [FromQuery] string[] languags, [FromQuery] string fileType)