Download Terraform module

Gets the URL of the source code for a Terraform module.
This is an API used by Terraform to download the module when running terraform init.
The URL could be found in the response header under X-Terraform-Get, and its format is "git::REPOSITORY_URL[//PATH_TO_FOLDER][?ref=GIT_REF]"

You could use this URL to clone the repository and checkout the specific git ref, and find the source in the specified folder

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!