{"version":"1.0","type":"rich","title":"request post node.js","description":"This example demonstrates how to send an HTTP POST request to a local server’s `/login` endpoint using the Node.js `request` library. It configures a set of default headers, including a Firefox user agent and character-set preferences, and transmits a JSON payload containing a username and password. The callback logs the response body if the server returns a 200 status code, showing a basic authentication workflow.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1360979?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}