1234567891011121314151617181920 |
- using Microsoft.AspNetCore.Mvc;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace MQTT_Broker.Controllers
- { //[Authorize]
- [Route("api/[controller]")]
- [ApiController]
- public class TestAPIController
- {
- [HttpGet("aa")]
- public IActionResult Get()
- {
- return new JsonResult(new { a = "aa", c = "bb" });
- }
- }
- }
|