An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
| locals { | |
| vpc_cidr = "192.168.0.0/16" | |
| vpc_interface_endpoints = ["ssm", "ec2messages", "ssmmessages"] | |
| region = "eu-central-1" | |
| availability_zones = ["eu-central-1a", "eu-central-1b"] | |
| ec2_bastion_ami = "ami-0b1a8f3698a954358" | |
| ec2_bastion_instance_class = "t3a.micro" | |
| public_subnet_offset = 0 |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output