{"version":"1.0","type":"rich","title":"curl POST examples","description":"This example demonstrates how to send POST requests with curl using both `application/x-www-form-urlencoded` and `application/json` content types. It shows curl commands with the `-d` option for inline data and for reading from sample `data.txt` and `data.json` files, paired with explicit `-H` headers and `-X POST`. The accompanying `server.js` uses Express and body-parser middleware to receive and log the request bodies at the `/data` endpoint, while `package.json` lists the required dependencies. The visualization clarifies the correspondence between curl’s data flags and the server’s parsing behavior.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-776b1f0126a1c5779c4d873ac3cc1d10?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}