My Project
  1. board
My Project
  • local
    • Auth
      • 회원 탈퇴
      • 토큰 재발급
      • 소셜 가입
    • User
      • 정보 조회
      • 추가 정보 가입
      • 닉네임 중복 검사
      • 회원 정보 수정
  • dev
    • Auth
      • 탈퇴
      • 토큰 재발급
      • 소셜 가입
    • User
      • 정보 조회
      • 추가 정보 가입
      • 닉네임 중복 검사
      • 회원 정보 수정 Copy
      • 회원가입 태그 데이터 반환
      • 추천 게시물 키워드 편집
    • board
      • 게시글 작성
        POST
      • 내가 쓴 글 조회
        GET
      • 게시글 저장하기
        GET
      • 게시글 저장 취소
        GET
      • 저장한 게시글 조회
        GET
    • DotoriToken
      • 도토리 내역 조회
      • 도토리 개수 조회
      • 도토리 선물하기
  1. board

게시글 작성

Developing
POST
https://dotorit.duckdns.org/api/v1/board

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dotorit.duckdns.org/api/v1/board' \
--form 'createBoard="{    \"title\" : \"게시글 예시1\",    \"writer\" : \"tester\",    \"content\" : \"안녕하세요 게시글입니다. 안녕히 계세요\",    \"keywords\" : [\"프론트엔드 개발\", \"취업/이직\"],    \"boardType\" : \"IT 일상\"}"' \
--form 'images=@"/Users/Sunro1994/Desktop/스크린샷 2025-02-25 오후 7.15.20.png"' \
--form 'images=@"/Users/Sunro1994/Desktop/스크린샷 2025-02-25 오후 7.01.53.png"'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "message": "string",
    "data": {
        "boardId": 0,
        "title": "string",
        "writer": "string",
        "content": "string",
        "viewCount": 0,
        "likeCount": 0,
        "createdTime": null,
        "boardKeywords": [
            "string"
        ],
        "imageList": [
            "string"
        ],
        "userInfo": {
            "userId": 0,
            "nickname": "string",
            "profileImage": "string",
            "keyword": [
                "string"
            ],
            "simpleIntroduce": "string"
        },
        "commentCount": 0
    }
}
Modified at 2025-02-27 09:14:40
Previous
추천 게시물 키워드 편집
Next
내가 쓴 글 조회
Built with