<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ganesh Ubale on Medium]]></title>
        <description><![CDATA[Stories by Ganesh Ubale on Medium]]></description>
        <link>https://medium.com/@ganeshubale?source=rss-69629ca5d020------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KGxW8KrP2zM1AF8WNQ0cPQ.jpeg</url>
            <title>Stories by Ganesh Ubale on Medium</title>
            <link>https://medium.com/@ganeshubale?source=rss-69629ca5d020------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:29:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ganeshubale/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Debugging APIs Like a Pro: Using Charles Proxy / Proxyman]]></title>
            <link>https://ganeshubale.medium.com/debugging-apis-like-a-pro-using-charles-proxy-proxyman-fd21b7948516?source=rss-69629ca5d020------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd21b7948516</guid>
            <category><![CDATA[api-debugging]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[charles-proxy]]></category>
            <category><![CDATA[debugging-tools]]></category>
            <dc:creator><![CDATA[Ganesh Ubale]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 12:21:01 GMT</pubDate>
            <atom:updated>2026-02-23T12:21:01.787Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00aOaxxg9mw_W4p8ZL1Fhw.png" /></figure><p>Modern app development requires tight control and inspection over network calls — especially for debugging and testing. Tools like <strong>Charles Proxy</strong> and <strong>Proxyman</strong> come to the rescue by allowing developers to inspect, modify, and redirect network requests with ease.</p><p>Let’s walk through the key use cases and features of these tools — in a point-wise, developer-friendly format.</p><p><strong>1. Enabling SSL Proxying (For HTTPS APIs)</strong></p><p>To intercept HTTPS traffic, you must install and trust the <strong>root certificate</strong> provided by the tool.</p><p>📝<strong> Steps</strong></p><ol><li>Go to Help &gt; SSL Proxying &gt; Install Certificate.</li><li>Follow OS-specific instructions to trust it.</li><li>Add domain(s) to SSL Proxying list (*.api.yourapp.com).</li></ol><p>📸 Charles Proxy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*tNK1Nmgd7jmVce1daNZNRQ.png" /></figure><p>📸 Proxyman</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4wfhXj8kwykCHeRUrJW7gQ.png" /></figure><p><strong>2. Introduction to Charles Proxy / Proxyman </strong>🔧</p><p>Both <strong>Charles Proxy</strong> and <strong>Proxyman</strong> are <strong>HTTP/HTTPS debugging proxy tools</strong> used by developers to:</p><ul><li>Intercept and inspect <strong>network traffic</strong> (requests/responses).</li><li>Debug <strong>API calls</strong> and <strong>SSL traffic</strong>.</li><li>Test different environments without changing code.</li><li>Modify request/response data in real-time.</li></ul><p>✨<strong> Key Features</strong></p><ul><li><strong>SSL Proxying</strong> (view HTTPS traffic in plaintext)</li><li><strong>Breakpoints</strong> (pause and edit requests/responses)</li><li><strong>Map Local</strong> (serve local files instead of real responses)</li><li><strong>Throttling</strong> (simulate poor network conditions)</li></ul><p><strong>3. Breakpoints Usage (Modify Request/Response) </strong>⛔</p><p>Breakpoints allow you to <strong>pause</strong> a request or response before it reaches the server/client. You can <strong>modify</strong> it for testing different scenarios.</p><p>✅<strong> Use Cases</strong></p><ul><li>Inject test data without changing backend.</li><li>Simulate server errors (e.g., 500, 403).</li><li>Add/remove headers or change HTTP methods.</li><li>Test how your app behaves with unexpected responses.</li></ul><p>📝<strong> Steps</strong></p><ol><li>Enable <strong>Breakpoints</strong> from the toolbar.</li><li>Right-click on a request → Tools → <strong>Enable Breakpoint</strong>.</li><li>Perform the request from your app.</li><li>Modify the request/response in the popup editor.</li><li>Click “Execute” to continue.</li></ol><p>📸 Charles Proxy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hup29T4K8cByqmx2bCuFqQ.png" /></figure><p>📸 Proxyman</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6sE7AhHLNd1WshEXehMTQ.png" /></figure><p>🔐<em> Don’t forget to </em><strong><em>enable SSL Proxying</em></strong><em> to view secure (HTTPS) traffic.</em></p><p><strong>4. Map Local (Mocking Responses) </strong>📁</p><p>“Map Local” allows you to <strong>serve local files</strong> instead of actual server responses. Useful for <strong>offline testing</strong> and <strong>mocking APIs</strong>.</p><p>✅<strong> Use Cases</strong></p><ul><li>Test UI with mock JSON or HTML.</li><li>Simulate delayed or malformed responses.</li><li>Develop UI before backend is ready.</li></ul><p>📝<strong> Steps</strong></p><ol><li>Select a request → Right-click → Tools → <strong>Map Local</strong>.</li><li>Choose a local file (e.g., mock_response.json).</li><li>Now, every time that endpoint is called, your file is returned instead of the server response.</li></ol><p>📸 Charles Proxy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*bDPIUYj4_RqgdTgS168WYQ.png" /></figure><p>📸 Proxyman</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MciEhOJpFKhsQQOuFmTEXA.png" /></figure><p>🧪 Tip: You can <strong>combine Map Local with Breakpoints</strong> to test dynamic local changes.</p><p>🔐 Don’t forget to remove Local Map once complete it’s use and backend is ready.</p><p><strong>5. Throttle (Simulate Slow Networks) </strong>🐢</p><p><strong>Throttle</strong> allows you to <strong>simulate different network speeds</strong> such as 2G, 3G, or Edge. This is useful for testing how your app behaves under poor or slow network conditions.</p><p>✅<strong> Use Cases</strong></p><ul><li>Test UI loading indicators and timeout handling.</li><li>Simulate real-world network conditions (like a weak mobile signal).</li><li>Optimize lazy loading or caching strategies.</li><li>Identify performance bottlenecks in slow networks.</li></ul><p>📝<strong> Steps (Charles Proxy)</strong></p><ol><li>Go to Proxy &gt; Throttle Settings.</li><li>Enable <strong>Throttle Settings</strong>.</li><li>Set the desired speed (e.g., 200 kbps download / 100 kbps upload).</li><li>Optionally, <strong>add specific hosts or URLs</strong> to throttle selectively.</li><li>Save and observe the effect in your app.</li></ol><p>📸</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*g6au7a06UnxbeKte5R55FA.png" /></figure><p>📝<strong> Steps (Proxyman)</strong></p><ol><li>Select any request from the flow.</li><li>Click on <strong>Throttle</strong> icon or go to Tools &gt; Network Conditions.</li><li>Choose a preset (Edge, 3G, 4G) or set custom speeds.</li><li>Optionally, enable <strong>random latency</strong> to simulate network jitter.</li><li>Observe how requests behave in the slowed environment.</li></ol><p>📸</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XSAmdtme1CWjJoLDTmTBtg.png" /></figure><p>⚠️ <strong>Note:</strong> Make sure to disable throttling after your test, as it can affect all other network activities.</p><p>✅ <strong>Best Practices</strong></p><ul><li>Always <strong>disable SSL Proxying</strong> before production release.</li><li>Use <strong>filtering</strong> to reduce noise — focus only on your app’s domain.</li><li>Keep tools up-to-date for compatibility with latest OS and HTTPS protocols.</li><li>Consider using <strong>breakpoints</strong> to pause and modify requests/responses in real-time.</li></ul><p>🔚<strong> Conclusion</strong></p><p>Whether you’re hunting down tricky bugs testing edge cases or reverse-engineering traffic <strong>Proxyman</strong> and <strong>Charles Proxy</strong> offer the transparency and control modern developers need.</p><p>Mastering these tools not only improves debugging efficiency but also sharpens your understanding of how your app behaves in the wild.</p><p>💬 Got a favourite proxy use-case or trick? Share it in the comments!</p><p><em>Let’s be friends on </em><a href="https://www.linkedin.com/in/ganesh-ubale-1b6ab053/"><em>Linkedin</em></a><em> !</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd21b7948516" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>