Wash the mason jar and lid in hot soapy water, rinse, and let air dry.
Wash the okra and trim the stems to around 1/2 inch. Cut the two chiles in half.
In a medium saucepan, mix 1 cup white vinegar, 1 cup water, and 2 tablespoons salt. Bring to a boil.
Meanwhile, place the following in the Mason jar: 2 chiles, 6 sprigs dill, 2 cloves garlic, and 1/2 teaspoon whole peppercorns.
Tightly pack the okra into the jar.
Once the vinegar mixture comes to a boil, pour it into the jar. Tap the jar on the counter to release any air bubbles and top off the jar with extra water if any okra are exposed.
Place the lid on the jar and screw on the ring until it is tight. Allow to cool to room temperature. Leave the jar in the fridge for 10 days before tasting. The pickles last up to one month refrigerated.