|
| 1 | +<div href="/" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none"> |
| 2 | + <img src="/static/manip.png" width="300px" height="auto" alt="intro"> |
| 3 | +</div> |
| 4 | + |
| 5 | +# **Request Manipulation** |
| 6 | + |
| 7 | +<div href="/" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none border-bottom"></div> |
| 8 | + |
| 9 | +BLURB on why we need HTTP manipulation |
| 10 | + |
| 11 | +<div style="height:25px"></div> |
| 12 | + |
| 13 | +### **Exercise 1: Path Rewrite** |
| 14 | + |
| 15 | +BLURB HERE |
| 16 | + |
| 17 | +<div style="height:25px"></div> |
| 18 | + |
| 19 | +#### **Test Criteria** |
| 20 | + |
| 21 | +```http |
| 22 | +GET https://eph-ns.mcn-lab.f5demos.com/ HTTP/1.1 |
| 23 | +Host: eph-ns.mcn-lab.f5demos.com |
| 24 | +
|
| 25 | +{ |
| 26 | + "env": "azure", |
| 27 | + ... |
| 28 | +} |
| 29 | +``` |
| 30 | + |
| 31 | +<div class="left-aligned-button-container"> |
| 32 | + <button id="requestBtn1" class="btn btn-primary">Test Load Balancer</button> |
| 33 | +</div> |
| 34 | +<div id="result1" class="mt-3"></div> |
| 35 | +<script> |
| 36 | +document.getElementById('requestBtn1').addEventListener('click', () => { |
| 37 | + makeHttpRequest('requestBtn1', '/_manip1', 'result'); |
| 38 | +}); |
| 39 | +</script> |
| 40 | + |
| 41 | +<div style="height:25px"></div> |
| 42 | + |
| 43 | +### **Exercise 2: Header Shenanigans** |
| 44 | + |
| 45 | +BLURB |
| 46 | + |
| 47 | +<div style="height:25px"></div> |
| 48 | + |
| 49 | +#### **Test Criteria** |
| 50 | + |
| 51 | +```http |
| 52 | +GET https://eph-ns.mcn-lab.f5demos.com/ HTTP/1.1 |
| 53 | +Host: eph-ns.mcn-lab.f5demos.com |
| 54 | +
|
| 55 | +{ |
| 56 | + "env": "azure", |
| 57 | + ... |
| 58 | +} |
| 59 | +``` |
| 60 | + |
| 61 | +<div class="left-aligned-button-container"> |
| 62 | + <button id="requestBtn2" class="btn btn-primary">Test Load Balancer</button> |
| 63 | +</div> |
| 64 | +<div id="result2" class="mt-3"></div> |
| 65 | +<script> |
| 66 | +document.getElementById('requestBtn2').addEventListener('click', () => { |
| 67 | + makeHttpRequest('requestBtn2', '/_manip2', 'result2'); |
| 68 | +}); |
| 69 | +</script> |
| 70 | + |
| 71 | +<div style="height:25px" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none border-bottom"></div> |
| 72 | + |
| 73 | +Nice 🚀! If you've completed all the exercises so far, you have a good foundation for how App Connect addresses common L7 MCN scenarios. |
| 74 | +In subsequent labs, we'll explore security and observabilty concepts that build on MCN functionality. |
| 75 | +Head over to the <a href="/vnet" class="alert-link">Network Connect</a> exercise. |
| 76 | + |
0 commit comments