💡 สวัสดีจ้าเพื่อน ๆ วันนี้แอดจะพาเพื่อน ๆ มารู้จักกับโครงสร้างของ HTTP Messages นั่นเอง !!
ซึ่งเป็นพื้นฐานสำคัญอีกหนึ่งอย่างสำหรับเราชาวเดฟนั่นเอง
.
จะเป็นยังไง และมีรายละเอียดยังไง หากพร้อมแล้วไปอ่านกันเลยจ้าาาา ~
.
🌟 HTTP Messages เป็นวิธีการแลกเปลี่ยนข้อมูลระหว่าง Server และ Client โดยมี Messages 2 แบบ ได้แก่
.
🔸 HTTP Request คือ คำขอที่ส่งโดย Client เพื่อดำเนินการบน Server
🔸 HTTP Response คือ การตอบกลับจาก Server ไปยัง Client
.
⚙️ โครงสร้างของ HTTP Messages
.
ประกอบด้วย 3 ส่วน คือ
.
1️⃣ Start-line - เป็นบรรทัดแรกของ HTTP Messages เพื่อใช้ระบุว่าต้องการทำอะไรกับ Request และ Response ประกอบด้วย
.
🔹 Request Message
👉 HTTP Method - ใน Request Message เช่น GET, PUT, หรือ POST ระบุเพื่อใช้อธิบาย Action ภายใน Messages ที่จะส่งให้ Server นั่นเอง
👉 URL - เป็นพอร์ตหรือเส้นทางเป้าหมาย
👉 HTTP version - เวอร์ชันของ HTTP นั่นเอง
.
🔹 Response Message
.
👉 Protocol Version - เช่น HTTP/1.1
👉 Status Code - เป็นสถานะที่ระบุว่าคำขอสำเร็จหรือล้มเหลว จะแทนด้วยหมายเลขต่าง ๆ เช่น 404, 200 หรือ 302
👉 Status Text - เป็นข้อความระบุสถานะ เช่น Not Found
.
2️⃣ HTTP Headers - แต่ละช่องจะประกอบด้วย Name และ Value คั่นด้วยเครื่องหมาย (:) ใช้อธิบายเนื้อหาหรือรายละเอียดใน Messages
.
3️⃣ Body - เนื้อหาเพิ่มเติมที่สำคัญ เช่น HTML Form หรือ Response Document ซึ่งจะถูกระบุโดย Start-line และ HTTP Headers นั่นเอง
.
จบกันไปแล้ววววว หากพี่ ๆ คนไหนมีอะไรอยากเพิ่มเติมสามารถคอมเมนต์ไว้ด้านล่างได้เลยนะคะ และหวังว่าโพสต์นี้จะเป็นประโยชน์กับเพื่อน ๆ น้าาาา 🥰
.
📑 Source : https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages
.
borntoDev - 🦖 สร้างการเรียนรู้ที่ดีสำหรับสายไอทีในทุกวัน
#HTTP #BorntoDev
同時也有73部Youtube影片,追蹤數超過373萬的網紅Xiaomanyc 小马在纽约,也在其Youtube影片中提到,Learning languages is hard and boring, but what if you could all of a sudden speak one instantly without the years of studying it would normally take?...
「put http method」的推薦目錄:
put http method 在 Xiaomanyc 小馬在紐約 Facebook 的精選貼文
Learning languages is hard and boring, but what if you could all of a sudden speak one instantly without the years of studying it would normally take? So today I teamed up with my Korean friend Danne, and using a special tech setup I put together myself was able to have her speak fluent Korean through me! She told me what to say through an earbud in my ear, and because she was also able to hear what I was hearing she was able to conduct the conversation on my behalf. I can’t believe this actually worked; I was able to have conversations with Koreans in fluent Korean even though I’m not actually able to speak Korean!
Want to learn fluent Chinese like me? Sign up for my free newsletter and discover how you can pick up Chinese or other languages quickly using my weird but effective method: http://bit.ly/37gTpLc
Check out my Chinese course: http://bit.ly/3tgq4d8
put http method 在 BorntoDev Facebook 的最佳貼文
🔥 วันนี้แอดขอชี้เป้าเครื่องมือที่ช่วยทดสอบ API นั่นก็คือ Thunder Client ซึ่งจะช่วยให้เราสามารถทดสอบ API ได้ง่ายๆ ผ่าน Visual Studio Code
.
🌈 Thunder Client เป็น GUI-based Rest Api HTTPS client คล้ายกับ Postman เลย ใช้งานง่ายมากๆ โดยมีฟีเจอร์พื้นฐานให้ใช้งานดังนี้
.
✅ ส่ง Http/Https โดยใช้ Methods GET, POST, PUT, DELETE, PATCH, HEAD และ OPTIONS.
✅ มี Tabs History, Collections และ Environment เพื่อให้สะดวกต่อการใช้งาน
✅ รองรับ Basic Auth, Bearer Token และ OAuth 2.0
✅ ส่ง Body ในรูปแบบ Text, Json, Xml, Form Data, Files และ Form-Url-Encoded
✅ มี GUI ที่เข้าใจง่าย ไม่ต้องมีความรู้ในการเขียน Script ก็สามารถใช้งานได้
.
⚡ วิธีการติดตั้งก็ง่ายแสนง่าย เพียงแค่ เปิด VSCode ขึ้นมา คลิกที่ Extention ค้นหาคำว่า “Thunder Client” แล้วคลิก install ได้เลย เมื่อติดตั้งเสร็จแล้วก็จะมีไอคอนของเจ้า Thunder Client อยู่บน side bar
.
⚡ วิธีการใช้งานเพียงแค่คลิกที่ New Request -> ใส่ Web API ที่ต้องการทดสอบ -> เลือก method -> คลิก send รอดูผลลัพธ์ก็เป็นอันเสร็จเรียบร้อย เห็นมั้ยง่ายมากกกกก !!
.
💥 ส่วนใครอยากศึกษาเพิ่มเติมเกี่ยวกับเจ้า Thunder Client สามารถกดลิงค์นี้ได้เลย >> https://github.com/rangav/thunder-client-support
.
borntoDev - 🦖 สร้างการเรียนรู้ที่ดีสำหรับสายไอที่ในทุกวัน
put http method 在 Xiaomanyc 小马在纽约 Youtube 的最讚貼文
Learning languages is hard and boring, but what if you could all of a sudden speak one instantly without the years of studying it would normally take? So today I teamed up with my Korean friend Danne, and using a special tech setup I put together myself was able to have her speak fluent Korean through me! She told me what to say through an earbud in my ear, and because she was also able to hear what I was hearing she was able to conduct the conversation on my behalf. I can’t believe this actually worked; I was able to have conversations with Koreans in fluent Korean even though I’m not actually able to speak Korean!
Want to learn fluent Chinese like me? Sign up for my free newsletter and discover how you can pick up Chinese or other languages quickly using my weird but effective method: http://bit.ly/37gTpLc
Check out my Chinese course: http://bit.ly/3tgq4d8
Subscribe to my channel: https://www.youtube.com/channel/UCLNoXf8gq6vhwsrYp-l0J-Q?sub_confirmation=1
Follow me on Instagram: https://www.instagram.com/xiaomanyc/
Follow me on Facebook: https://www.facebook.com/xiaomanyc/
If you guys like the music in my videos, you can check out all the AMAZING music Epidemic Sound has at my affiliate link here: http://share.epidemicsound.com/xiaomanyc

put http method 在 Cookkim Youtube 的最佳貼文
Summer is here. Let's make some homemade yogurt. It is simple , easy and supper tasty
Ingredients:
- 1Liter of fresh milk
- 220 ml condensed milk (optional). Skip this ingredient if you want to make sugar free yogurt
- 180g yogurt. You need some yogurt to make more yogurt :)
- 15ml or 1 tbsp Vanilla extract
Tools:
- 12 glass jars (90ml size)
- 1 strainer
- 1 ladle
- 1 beer cooler or Styrofoam box or rice cooker
Instructions:
- Mix well fresh milk and condensed milk together
- Heat the milk. Don't let it boiled. Perfect temperature is around 70-80 degree celsius
- Stir well so the milk won't get burnt at the bottom
- Remove the pan from the stove and let it cool down
- While waiting for the milk to cool down, you can pasteurize all the tools. This step prevent the yogurt from slimy texture
- After the milk is cooled down, around 40-45 degree celsius. Mix in 180g yogurt + 15ml vanilla extract
- Pour the milk into pasteurized containers
- Fermentation method 1: Using cooler box. Mix 1liter of water + 0,5Liter hot boil water and pour into cooler box. Put the yogurt jars inside the box. Ferment them for 3 hours. After 3 hours, remove the yogurt jars and change the water, using the same quantity as begining. Put back the yogurt jars and ferment for another 3 hours
- Fermentation method 2: Using rice cooker. Pour in the hot water. Use a steamer basket or anything can hold the yogurt jars. Please noted, the hot water has to be below the steamer basket, not touch the yogurt jars. Turn on the rice cooker, using "Warm function". After 3 hours of fermentation, unplug the rice cooker. Continue to ferment them for another 3 hours
- After 6 hours, you can remove the yogurt jars. Let them cooled down and store them in the fridge. It taste better when it cold.
❤CONNECTING WITH ME
➤Subscribe my Youtube : http://bit.ly/2nPwvGW
➤Website: www.cookkim.com
➤Fanpage:https://www.facebook.com/cookkimvn/
➤Instagram:https://www.instagram.com/cookkimvn
-----------------------------------------------------------------------------------------------------------------------------------
Trời vào hè oi bức, sữa chua là món ăn giải nhiệt mà cách làm lại cực kỳ đơn giản. Sữa chua tự làm giữ lại nhiều dưỡng chất hơn. Mùi vị lại thơm ngon hơn sữa chua công nghiệp.
Công thức:
- 1L sữa tươi. Mình dùng sữa tươi Long Thành
- 220ml sữa đặc (tuỳ chọn). Nếu làm sữa chua không đường thì không cần thêm sữa đặc
- 180g sữa chua cái. Mình dùng sữa chua ít đường của 4p's
- 15ml hoặc 1 tbsp tinh chất vanilla
Dụng cụ:
- 12 hũ làm sữa chua bằng thuỷ tinh
- 1 cái rây
- 1 giá múc
- Thùng xốp hoặc nồi cơm điện
Cách làm:
- Hoà sữa đặc với sữa tươi đều lại với nhau
- Cho lên bếp nấu lửa nhỏ. Khuấy đều để sữa không bị cháy.
- Khi thấy sữa sôi hơi lăn tăn, bốc khói nhiều thì nhấc nồi ra ngoài. Nhiệt độ khoảng 70-80 độ C. Chú ý không nên để sữa sôi sục. Sữa sẽ bị tách nước và bị óc trâu
- Trong khi chờ sữa nguội bớt, mình sẽ vệ sinh hũ đựng và các dụng cụ. Mình trần tất cả chúng qua nước sôi. Sau đó để chúng tự khô (không nên lau). Bước này là bước tiệt trùng, giúp sữa chua không bị nhớt.
- Sau khi sữa nguội, nhiệt độ hơi ấm, tầm 40-45 độ C thì cho hũ sữa chua cái vào + tinh chất vanilla vào và khuấy đều cho tan.
- Cho hỗn hợp sữa vào hũ đựng
- Ủ bằng thùng xốp: pha tỷ lệ nước 1L nước lạnh + 0.5L nước sôi, cho vào thùng xốp. Sau đó đặt các hũ sữa chua vào. Chú ý chỉ cần ngập 2/3 hũ. Ủ trong 3 giờ. Sau đó thay nước mới, tỷ lệ như cũ và ủ thêm 3 giờ nữa
- Ủ bằng nồi cơm điện: Cho nước sôi vào nồi. Đặt trõ/xửng hấp vào. Nước sôi không vượt quá xửng hấp, không được ngập hũ. Cắm điện nồi và để chế độ Warm (hâm nóng). Sau 3 tiếng rút điện và ủ thêm 3 tiếng nữa
- Sau 6-7 tiếng ủ, lấy sữa chua ra ngoài. Để nguội bớt và cho vào tủ lạnh. Ăn ngon nhất sau khi để qua đêm
❤KẾT NỐI VỚI KIM NHÉ:
➤Đăng ký kênh Youtube của Kim : http://bit.ly/2nPwvGW
➤Website: www.cookkim.com
➤Fanpage:https://www.facebook.com/cookkimvn/
➤Instagram:https://www.instagram.com/cookkimvn/

put http method 在 Andy Dark Youtube 的精選貼文
【同遊異輯 COLLAGE #2 | 3款高級牛扒醬汁】
⭐跟埋John Rocha 學做兩款配菜!
⭐Check out John's video and learn how to make two side dishes!
▶▶▶ https://youtu.be/QAzpPo22X10
我與John Rocha的合作項目 「同遊異輯 COLLAGE」也算終於開始啦。第一集就有我們分別製作出兩款配菜和三種醬汁去配襯牛扒。
亦在此感謝Marble Prime送上片中的安格斯黑牛扒給我們試食!
———————————————
-- 紅酒醬汁 Red Wine Sauce–
材料 Ingredients:
乾蔥 Chinese onion | 2 pcs
蒜蓉 White wine | 2 cloves
紅酒 Red wine | 100 ml
牛高湯 Beef stock | 100 ml
牛油 Butter | 10 g
麵粉 Flour | 10 g
做法 Method:
1. 開火,在鍋中放入油、乾蔥碎和蒜蓉炒香。加入紅酒,煮數分鐘把一半的水分收汁。
2. 之後倒入牛高湯,再收汁。
3. 把牛油和麵粉混合成麵糰。放入醬汁裡攪拌。調味。煮數分鐘汁稠身。完成!
1. Turn on the heat, pour some oil into the pot and saute the chopped shallots and garlic. Add the red wine into the pot. Cook for a few minutes and reduce the liquid in half.
2. Add the beef stock and reduce it in half again.
3. Mix the butter and flour to make beurre manie. Add it into the sauce. Season it. Keep stirring it and cook until the sauce starts to thicken. Done!
———————————————
-- 蕎頭忌廉醬汁 Chinese Onion Cream Sauce–
材料 Ingredients:
蕎頭 Chinese onion | 3 pcs
白酒 White wine | 100 ml
牛高湯 Beef stock | 100 ml
牛油 Butter | 10 g
麵粉 Flour | 10 g
淡忌廉 | 100 ml
做法 Method:
1. 開火,在鍋中放入蕎頭碎和白酒,煮數分鐘把一半的水分收汁。
2. 之後倒入牛高湯,再收汁。
3. 把牛油和麵粉混合成麵糰。調味。放入醬汁裡攪拌。煮數分鐘汁稠身。
4. 關火,倒入淡忌廉。攪至均勻並完成。
1. Turn on the heat, get the chopped Chinese onion and white wine into the pot. Cook for a few minutes and reduce the liquid in half.
2. Add the beef stock and reduce it in half again.
3. Mix the butter and flour to make beurre manie. Add it into the sauce. Season well. Keep stirring it and cook until the sauce starts to thicken.
4. Turn off the stove. Pour in the cream and mix well. Done!
———————————————
-- 賓尼士醬 Bearnaise Sauce–
材料 Ingredients:
乾蔥 Chinese onion | 2 pcs
龍蒿 Tarragon | 1 stalk
白酒 White wine | 100 ml
檸檬 Lemon | 1 pc
雞蛋 Egg | 1 pc
澄清牛油 Clarified Butter | 150 g
做法 Method:
1. 開火,在鍋中放入乾蔥碎、龍蒿碎和白酒,煮數分鐘把水分收至約1湯匙份量。倒出隔渣,把精華放涼備用。
2. 之後在熱水上放上一隻碗,放入蛋黃和精華。開始拂打。之後,一邊加入溶化的澄清牛油,一邊繼續拂打,至達到像蛋黃醬的濃稠度便可。
3. 再放入調味和龍蒿碎,拌勻便成!
1. Turn on the heat, get the chopped shallot, tarragon and white wine into the pot. Cook for a few minutes and reduce to a tablespoon of liquid. Strain it, and reserve the liquid.
2. Place a bowl over a bain-marie, put the yolk and the liquid into the bowl. Start whisking it, while slowly adding the clarified butter. Keep doing it until the consistency becomes something similar to the texture of a mayonnaise.
3. Season it and add some more chopped tarragon. Mix well. Done!
———————————————
#牛扒
#同遊異輯
#COLLAGE
☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰
ᴀɴᴅʏ ᴅᴀʀᴋ
▶ ????????: Andy Dark | @chefandydark
▶ ?????????: @Andy_Dark
▶ ???????: https://www.youtube.com/AndyDark/
▶ ?????: contact@andydark.hk
ᴊᴏʜɴ ʀᴏᴄʜᴀ
▶ ????????: John Rocha鹹蝦燦 | @johnrochacooking
▶ ?????????: @johnrochacooking
▶ ???????: http://www.youtube.com/JohnRochaCooking
▶ ?????: eurasianfoodjourney@gmail.com
☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰☰
