<aside> <img src="/icons/verified_orange.svg" alt="/icons/verified_orange.svg" width="40px" />
기술 정리 규칙
https://lourcode.kr/notion-tools-embeds/block/html/?c=<!DOCTYPE html> <html> <head> <meta charset%3D"UTF-8"> <style> .trigger-container { display%3A flex%3B flex-direction%3A column%3B align-items%3A center%3B text-align%3A center%3B } .trigger-button { display%3A inline-block%3B margin-bottom%3A 10px%3B padding%3A 10px 20px%3B background-color%3A %234c9aff%3B color%3A white%3B font-size%3A 16px%3B border%3A none%3B cursor%3A pointer%3B border-radius%3A 4px%3B box-shadow%3A 0px 2px 6px rgba(0%2C 0%2C 0%2C 0.1)%3B transition%3A background-color 0.3s%3B } .trigger-button%3Ahover { background-color%3A %232e86ff%3B } .message { font-size%3A 16px%3B color%3A %23333%3B } <%2Fstyle> <%2Fhead> <body> <div class%3D"trigger-container"> <button id%3D"triggerButton" class%3D"trigger-button">갱신<%2Fbutton> <div id%3D"message" class%3D"message"><%2Fdiv> <%2Fdiv> <script> document.getElementById("triggerButton").addEventListener("click"%2C function() { var messageElement %3D document.getElementById("message")%3B messageElement.textContent %3D "요청 전송 중..."%3B var xhr %3D new XMLHttpRequest()%3B xhr.open("POST"%2C "https%3A%2F%2Fapi.github.com%2Frepos%2Flibookr%2Fliboo.blog%2Fdispatches"%2C true)%3B xhr.setRequestHeader("Accept"%2C "application%2Fvnd.github.v3%2Bjson")%3B xhr.setRequestHeader("Authorization"%2C "Bearer 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")%3B xhr.setRequestHeader("Content-Type"%2C "application%2Fjson")%3B xhr.onload %3D function() { if (xhr.status %3D%3D%3D 204) { messageElement.textContent %3D "요청이 성공적으로 전송되었습니다." %2B xhr.status%3B } else { messageElement.textContent %3D "요청 전송에 실패했습니다.<br>상태 코드%3A " %2B xhr.status%3B } }%3B xhr.onerror %3D function() { messageElement.textContent %3D "요청 전송 중 알 수 없는 오류가 발생했습니다."%3B }%3B xhr.send(JSON.stringify({"event_type"%3A "RUN_WORKFLOW_DISPATCH"}))%3B%0A%20%20%20%20%7D)%3B%0A%3C%2Fscript%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0Ant%3B%0A%20%20%20%20%7D)%3B%0A%3C%2Fscript%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0Ant)
</aside>
Properties
상태 : 상태
카테고리 : 다중 선택
작성자 : 사람
작성일 : 날짜
태그 : 다중 선택
속성들 타입이 바뀌면 에러남!
제목에 ( ) 괄호 들어가면 안됨!