メインコンテンツへスキップ
paste
bin
.ca
type · paste · share
⌘
K
ファミリー
bin ファミリー
pastebin.ca
ハブ
Share text and code with expiry and privacy controls.
imagebin.ca
Upload and share images with direct links.
filebin.ca
Drop a file and get a shareable link.
notebin.ca
Write Markdown notes with durable links.
turl.ca
Short, reputation-checked links.
attn.ca
Notifications and alerts for your services.
voicebin.ca
Record and share short voice clips.
dnsbin.ca
Inspect DNS and debug records.
ドキュメント
サインイン
?
← ペーストに戻る
›
編集 / フォーク
無題のペースト
#2URrDtQ4Sy
public / public
新しいバージョン
匿名
作成日 6 days ago
失効まで 15 hours
1.0 KB
構文:
text
変更により、このペーストにリンクされた新しいペーストが作成されます — 元のペーストは変更されません。
新しいバージョン
変更により、このペーストにリンクされた新しいペーストが作成されます — 元のペーストは変更されません。
タイトル(任意)
ファイル名
構文
text
text
bash
c
cpp
css
diff
dockerfile
go
html
ini
java
javascript
json
kotlin
lua
makefile
markdown
nginx
php
python
ruby
rust
shellscript
sql
swift
toml
typescript
xml
yaml
可視性
パブリックフィード
アクセス
public
失効
7日
10分
1時間
1日
7日
30日
90日
カスタム…
カスタム失効
変更メモ
(任意)
このペーストはパブリックフィードに表示されます。リンクを知っている人だけに見せたい場合は可視性を変更してください。
新しいバージョンを作成
キャンセル
貼り付けるか入力…
function delay(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } function postReply(resto, content, name = '', title = '') { const formdata = new FormData(); formdata.append("resto", resto); formdata.append("name", name); formdata.append("title", title); formdata.append("content", content); const requestOptions = { method: "POST", body: formdata, redirect: "follow" }; return fetch("/Home/Forum/doReplyThread.html", requestOptions) .then(response => response.text()) .then(result => { console.log("Post reply result:", result); return result; }); } function getLastPost() { const requestOptions = { method: "GET", redirect: "follow" }; return fetch("/Api/getLastPost", requestOptions) .then(response => response.text()) .then(result => { console.log("Last post result:", result); return result; }); } try { await postReply("69087758", "test"); await delay(5000); await getLastPost(); } catch (error) { console.error("Error:", error); }