Categories
Website Design

Idempotency and retries with the Stripe Postman collection [Video]

Idempotency and retries with the Stripe Postman collection

Learn how to use idempotency for safely retrying requests without accidentally performing the same operation twice using the Stripe Postman collection. This is useful when an API call is disrupted in transit and you do not receive a response. For example, if a request to create a charge does not respond due to a network connection error, you can retry the request with the same idempotency key to guarantee that no more than one charge is created.

### Presenter

Dawn Lambeth – Developer Advocate at Stripe – https://twitter.com/dawnlambeth

### Resources

Documentation: https://stripe.com/docs/api/idempotent_requests
Postman collection: https://www.postman.com/stripedev/workspace/stripe-developers/overview

### Table of contents

00:00 Overview
00:30 Introduction to idempotency
01:20 How it works
01:35 HTTP method support
01:45 Request headers
01:58 Create a customer with an idempotency key
02:58 Create a UUID with Postman
04:10 Retries

### Support

If you have a question, please feel free to reach out to our support team at https://support.stripe.com/ or on Discord: https://stripe.com/go/developer-chat.

### Updates

Sign up to stay updated with developer news: https://go.stripe.global/dev-digest

### Feedback

If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88.

Watch/Read More
Categories
Website Design

The importance of developer community in your career [Video]

In this conversation from the Caribbean Developers conference, Andres Pineda, Senior Software Engineer, joins Cecil Phillip for conversation about how impactful the developer community has been for his career. The two discuss the need for a safe space to learn, make mistakes, and evolve. Andres also gives some practical advice on how to find and be actively involved in developer communities. ### Presenter Cecil Phillip - Developer Advocate at Stripe - https://twitter.com/cecilphillip Andres Pineda - Senior Software Engineer at Shopify - https://twitter.com/ajpinedam ### Resources Meetup.com - https://www.meetup.com Stripe Discord - https://stripe.com/go/developer-chat Stripe Dev.to - https://dev.to/stripe/ ### Support If you have a question, please feel free to reach out to our support team on Discord at https://stripe.com/go/developer-chat ### Updates Sign up to stay updated with developer news: https://go.stripe.global/dev-digest ### Feedback If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88

Categories
Website Design

How To Build A Chat App With React And Stream [Video]

Build cross-platform messaging experiences with Stream Chat API. Sign up for Stream's 30 day trial for free: https://gstrm.io/webdevsimplified Building a chat application is hard, especially if you want it to be a robust and full featured app similar to Facebook Messenger. In this video I will show you how you can use Stream to build out an incredibly robust chat system with ease. 📚 Materials/References: GitHub Code: https://github.com/WebDevSimplified/facebook-messenger-clone React Router Video: https://youtu.be/Ul3y1LXxzdU React Router Article: https://blog.webdevsimplified.com/2022-07/react-router forwardRef Video: https://youtu.be/zpEyAOkytkU?t=97 forwardRef Article: https://blog.webdevsimplified.com/2022-06/use-imperative-handle/#reactforwardref React Query Video: https://youtu.be/r8Dg0KVnfMA CORS Video: https://youtu.be/PNtFSVU-YTI CORS Article: https://blog.webdevsimplified.com/2021-05/cors useLocalStorage Hook Video: https://youtu.be/vrIxu-kfAUo useLocalStorage Hook Video: https://blog.webdevsimplified.com/2019-11/how-to-write-custom-hooks/#uselocalstorage-hook 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified ⏱️ Timestamps: 00:00:00 - Introduction 00:00:30 - Demo 00:02:33 - Server Setup 00:06:21 - Client Setup 00:12:38 - Client Signup Page 00:31:48 - Server Signup Route 00:38:15 - Client Server Connection 00:44:23 - Client Login Page 00:47:17 - Server Login Route 00:49:20 - Client Finish Auth 01:00:54 - Client Chat Page 01:06:29 - Customizing Channel List 01:15:42 - Client Logout Implementation 01:17:54 - Server Logout Route 01:21:17 - Client New Conversation Page #ChatApp #WDS #Stream