feat: delete curl

This commit is contained in:
Tim
2025-07-01 10:22:43 +08:00
parent e8f4fd8175
commit 664d7de105
6 changed files with 0 additions and 76 deletions

View File

@@ -9,18 +9,6 @@ import org.springframework.http.ResponseEntity;
import org.springframework.security.core.Authentication;
import org.springframework.web.bind.annotation.*;
/*
curl -X POST http://localhost:8080/api/posts/1/reactions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{ "type": "LIKE" }'
curl -X POST http://localhost:8080/api/comments/1/reactions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{ "type": "LIKE" }'
*/
@RestController
@RequestMapping("/api")
@RequiredArgsConstructor