[DEV] HTTPレスポンス検証
こんにちは、@yasuです。
AIに学習用のプログラムを作らせてみました。
Content-Type: multipart/form-dataの場合に送られる内容です。
POST /api/echo HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: ja-JP,ja;q=0.9,ko-KR;q=0.8,ko;q=0.7,en-US;q=0.6,en;q=0.5,de;q=0.4,lg;q=0.3
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 376
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryh5YdZxW49IGJ02F1
Host: 127.0.0.1:8792
Origin: http://127.0.0.1:8792
Referer: http://127.0.0.1:8792/
Sec-Ch-Ua: "Not-A.Brand";v="99", "Google Chrome";v="157", "Chromium";v="157"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Sec-Fetch-Dest: iframe
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36
------WebKitFormBoundaryh5YdZxW49IGJ02F1
Content-Disposition: form-data; name="text_1"
------WebKitFormBoundaryh5YdZxW49IGJ02F1
Content-Disposition: form-data; name="text_2"
------WebKitFormBoundaryh5YdZxW49IGJ02F1
Content-Disposition: form-data; name="upload"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundaryh5YdZxW49IGJ02F1--
🎟️ Congratulations on winning Steem Bingo Round #594, @yasu! You've been selected for Retry — 5 free tickets for the next round! 🎟️
Result: https://steemscanner.com/transaction/b1a119c30a358b56a0cd3260cc92d3b411c61aaa
Support Our Witnesses
Steem Bingo is made possible by our witnesses. Please consider voting for them:
🗳️ Join the Bingo Curation Trail on Autoblaze — get automated votes on your Steem Bingo comments
📅 Schedule posts and automate your upvotes using Autoblaze
💎 Delegate to upex and get the best returns on your delegations!
🔗 Follow SVM updates and our EVM Extension on STEEM: https://steemit.com/created/hive-196634
🚀 Blazedit — the new evolution of posting. Create posts and reels and get an extra reward boost from upex
0.00 SBD,
53.81 STEEM,
53.81 SP