=== curl ===
curl -X POST 'https://api.example.com/VAR_0/VAR_1?q=VAR_4' \
  -H 'Content-Type: application/json' \
  -H 'X-Home: VAR_2' \
  -H 'X-Quote: VAR_3' \
  --data-raw '{"a":"VAR_0","b":"VAR_1","c":"VAR_2","d":"VAR_5","e":"VAR_4"}'
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== python-requests ===
import requests

url = "https://api.example.com/VAR_0/VAR_1"
params = [
    ("q", "VAR_4"),
]
headers = {
    "Content-Type": "application/json",
    "X-Home": "VAR_2",
    "X-Quote": "VAR_3",
}
data = "{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}"

response = requests.request("POST", url, params=params, headers=headers, data=data)
print(response.text)
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== js-fetch ===
const url = "https://api.example.com/VAR_0/VAR_1?q=VAR_4";
const options = {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-Home": "VAR_2",
    "X-Quote": "VAR_3",
  },
  body: "{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}",
};

const response = await fetch(url, options);
console.log(await response.text());
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== go ===
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/VAR_0/VAR_1?q=VAR_4"

	payload := strings.NewReader("{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")
	req.Header.Add("X-Home", "VAR_2")
	req.Header.Add("X-Quote", "VAR_3")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== java-httpclient ===
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.example.com/VAR_0/VAR_1?q=VAR_4"))
    .header("Content-Type", "application/json")
    .header("X-Home", "VAR_2")
    .header("X-Quote", "VAR_3")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}"))
    .build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== java-okhttp ===
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}");
Request request = new Request.Builder()
  .url("https://api.example.com/VAR_0/VAR_1?q=VAR_4")
  .post(body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Home", "VAR_2")
  .addHeader("X-Quote", "VAR_3")
  .build();

Response response = client.newCall(request).execute();
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== csharp-httpclient ===
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("https://api.example.com/VAR_0/VAR_1?q=VAR_4"),
    Headers =
    {
        { "X-Home", "VAR_2" },
        { "X-Quote", "VAR_3" },
    },
    Content = new StringContent("{\"a\":\"VAR_0\",\"b\":\"VAR_1\",\"c\":\"VAR_2\",\"d\":\"VAR_5\",\"e\":\"VAR_4\"}")
    {
        Headers =
        {
            ContentType = MediaTypeHeaderValue.Parse("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5

=== php-guzzle ===
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/VAR_0/VAR_1?q=VAR_4', [
  'body' => '{"a":"VAR_0","b":"VAR_1","c":"VAR_2","d":"VAR_5","e":"VAR_4"}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-Home' => 'VAR_2',
    'X-Quote' => 'VAR_3',
  ],
]);

echo $response->getBody();
--- warnings ---
Variable "x'; printf injected; #" contains unsafe characters and is shown as VAR_0
Variable "$(id)" contains unsafe characters and is shown as VAR_1
Variable "$HOME" contains unsafe characters and is shown as VAR_2
Variable ""q"" contains unsafe characters and is shown as VAR_3
Variable "a b" contains unsafe characters and is shown as VAR_4
Variable "\"q\"" contains unsafe characters and is shown as VAR_5
