{ "uuid": [ { "value": "5d894fb5-1253-4f7e-a6ad-429618eeefef" } ], "langcode": [ { "value": "en" } ], "type": [ { "target_id": "daily_email", "target_type": "node_type", "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" } ], "revision_timestamp": [ { "value": "2025-05-11T09:00:02+00:00" } ], "revision_uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "revision_log": [], "status": [ { "value": true } ], "uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "title": [ { "value": "Just use curl" } ], "created": [ { "value": "2025-01-10T00:00:00+00:00" } ], "changed": [ { "value": "2025-05-11T09:00:02+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2025\/01\/10\/curl", "langcode": "en" } ], "body": [ { "value": "\n

I don't use complicated or bloated applications to test HTTP requests and API endpoints.<\/p>\n\n

I just use curl<\/code> on my command line.<\/p>\n\n

For example, if I want to query the Drupal.org API for my user information, I can run curl https:\/\/www.drupal.org\/api-d7\/user.json?uid=381388<\/code> and see the response.<\/p>\n\n

To see the request and response headers, status code, SSL certificate information and more, I can run curl -v<\/code> to run it in verbose mode.<\/p>\n\n

If the response returns JSON, I can use jq<\/code> to format the results.<\/p>\n\n

If I need to make a POST request, I can use -X POST<\/code>, I can use --data<\/code> or --json<\/code> to send data and --header<\/code> to send any required headers.<\/p>\n\n

curl is great program with so many options and no AI bloat, complicated UIs or paid plans.<\/p>\n\n

Want to see what else it can do?<\/p>\n\n

Just open your terminal and type man curl<\/code>.<\/p>\n\n ", "format": "full_html", "processed": "\n

I don't use complicated or bloated applications to test HTTP requests and API endpoints.<\/p>\n\n

I just use curl<\/code> on my command line.<\/p>\n\n

For example, if I want to query the Drupal.org API for my user information, I can run curl https:\/\/www.drupal.org\/api-d7\/user.json?uid=381388<\/code> and see the response.<\/p>\n\n

To see the request and response headers, status code, SSL certificate information and more, I can run curl -v<\/code> to run it in verbose mode.<\/p>\n\n

If the response returns JSON, I can use jq<\/code> to format the results.<\/p>\n\n

If I need to make a POST request, I can use -X POST<\/code>, I can use --data<\/code> or --json<\/code> to send data and --header<\/code> to send any required headers.<\/p>\n\n

curl is great program with so many options and no AI bloat, complicated UIs or paid plans.<\/p>\n\n

Want to see what else it can do?<\/p>\n\n

Just open your terminal and type man curl<\/code>.<\/p>\n\n ", "summary": null } ] }