Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Abbyytestrestapi.Controllers
- {
- [Route("api/Abbyy")]
- [ApiController]
- public class AbbyyController : ControllerBase
- {
- [HttpGet("Templates")]
- public ActionResult GetAvailableTemplates()
- {
- return Ok("test");
- }
- [HttpPost("ConvertFile/{templateKey}")]
- public ActionResult ConvertFile([FromBody] IFormFile pdfFile, string templateKey)
- {
- return Ok("hello");
- }
- }
- }```
- Yet I get an error 400 bad request. I have no idea what I am doing wrong... Can you help me? :)
- Thank you in advance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement