The hosts discuss topics such as the Bun JavaScript runtime, comparing REST, GraphQL, and TRPC, documenting code, using Fetch and Axios for HTTP requests, Send Cut Send for designing custom metal parts, and shameless plugs for their website and podcast's TikTok account.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
Rust is a programming language that can be valuable for exploring lower-level programming and performance optimization.
If you are encountering a 404 error when making a Fetch POST request to a specific endpoint in the WooCommerce REST API, check for issues like incorrect JSON stringification and potential redirect problems.
Deep dives
The Glow Up: A Fun Competition Reality Show on Netflix
The Glow Up is a competition reality show on Netflix that focuses on makeup. It's a fun and outrageous show with interesting hosts and talented contestants.
Send Cut Send: A Service for Designing and Cutting Custom Parts
Send Cut Send is a website that allows you to design and have custom parts laser-cut out of various materials such as metal, PVC, and wood. It's a great service for creating physical objects without the need for advanced 3D modeling skills.
Why Rust?
Rust is a programming language that offers a different paradigm and level of knowledge compared to JavaScript. It can be a valuable language to learn if you want to explore lower-level programming and performance optimization. However, it's not necessary for web development, and it's more of a personal preference or interest.
Debugging a Fetch POST Request Issue
If you're experiencing a 404 error when making a Fetch POST request to a specific endpoint in the WooCommerce REST API, while the data is created successfully, there are a few potential causes. Ensure that your body data is correctly JSON stringified and that any redirect issues are addressed. It may also be useful to compare the Fetch and Axios requests in a tool like Proxyman to identify any differences.
In this episode of Syntax, Wes and Scott answer your questions about Bun, using custom auth headers, the difference between trpc, REST, or GraphQL, documenting your code, why learn Rust, and more!